Loading src/TNL/Containers/ArrayView.h +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ public: // "Templated copy-constructor" accepting any cv-qualification of Value template< typename Value_ > __cuda_callable__ ArrayView( ArrayView< Value_, Device, Index >& array ) ArrayView( const ArrayView< Value_, Device, Index >& array ) : data(array.getData()), size(array.getSize()) {} // default move-constructor Loading src/TNL/Containers/VectorView.h +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ public: //! Computes scalar dot product template< typename Vector > NonConstReal scalarProduct( const Vector& v ); NonConstReal scalarProduct( const Vector& v ) const; //! Computes this = thisMultiplicator * this + alpha * x. template< typename Vector > Loading src/TNL/Containers/VectorView_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -243,7 +243,7 @@ template< typename Real, template< typename Vector > typename VectorView< Real, Device, Index >::NonConstReal VectorView< Real, Device, Index >:: scalarProduct( const Vector& v ) scalarProduct( const Vector& v ) const { return Algorithms::VectorOperations< Device >::template getScalarProduct< VectorView, Vector, NonConstReal >( *this, v ); } Loading Loading
src/TNL/Containers/ArrayView.h +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ public: // "Templated copy-constructor" accepting any cv-qualification of Value template< typename Value_ > __cuda_callable__ ArrayView( ArrayView< Value_, Device, Index >& array ) ArrayView( const ArrayView< Value_, Device, Index >& array ) : data(array.getData()), size(array.getSize()) {} // default move-constructor Loading
src/TNL/Containers/VectorView.h +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ public: //! Computes scalar dot product template< typename Vector > NonConstReal scalarProduct( const Vector& v ); NonConstReal scalarProduct( const Vector& v ) const; //! Computes this = thisMultiplicator * this + alpha * x. template< typename Vector > Loading
src/TNL/Containers/VectorView_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -243,7 +243,7 @@ template< typename Real, template< typename Vector > typename VectorView< Real, Device, Index >::NonConstReal VectorView< Real, Device, Index >:: scalarProduct( const Vector& v ) scalarProduct( const Vector& v ) const { return Algorithms::VectorOperations< Device >::template getScalarProduct< VectorView, Vector, NonConstReal >( *this, v ); } Loading