Commit c9b59e39 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

Fixed scalar product of static vectors.

parent 04aee969
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -687,7 +687,7 @@ struct StaticScalarProductGetter
};

template< typename Real1, typename Real2 >
struct StaticScalarProductGetter< 0, Real1, Real2 >
struct StaticScalarProductGetter< 1, Real1, Real2 >
{
   static auto compute( const Real1* u, const Real2* v ) -> decltype( u[ 0 ] * v[ 0 ] )
   {