Loading src/TNL/Matrices/DenseMatrixView.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -849,7 +849,7 @@ operator==( const Matrix& m ) const { return view1.getRow( i ) == view2.getRow( i ); }; return Algorithms::Reduction< DeviceType >::reduce( ( IndexType ) 0, this->getRows(), fetch, std::logical_and<>{}, true ); return Algorithms::reduce< DeviceType >( ( IndexType ) 0, this->getRows(), fetch, std::logical_and<>{}, true ); } template< typename Real, Loading src/TNL/Matrices/Sandbox/SparseSandboxMatrixView.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ getNonzeroElementsCount() const auto fetch = [=] __cuda_callable__ ( const IndexType i ) -> IndexType { return ( columns_view[ i ] != paddingIndex ); }; return Algorithms::Reduction< DeviceType >::reduce( ( IndexType ) 0, this->columnIndexes.getSize(), fetch, std::plus<>{}, 0 ); return Algorithms::reduce< DeviceType >( ( IndexType ) 0, this->columnIndexes.getSize(), fetch, std::plus<>{}, 0 ); } else { Loading Loading @@ -901,7 +901,7 @@ operator==( const Matrix& m ) const { return view1.getRow( i ) == view2.getRow( i ); }; return Algorithms::Reduction< DeviceType >::reduce( 0, this->getRows(), fetch, std::logical_and<>{}, true ); return Algorithms::reduce< DeviceType >( 0, this->getRows(), fetch, std::logical_and<>{}, true ); } template< typename Real, Loading Loading
src/TNL/Matrices/DenseMatrixView.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -849,7 +849,7 @@ operator==( const Matrix& m ) const { return view1.getRow( i ) == view2.getRow( i ); }; return Algorithms::Reduction< DeviceType >::reduce( ( IndexType ) 0, this->getRows(), fetch, std::logical_and<>{}, true ); return Algorithms::reduce< DeviceType >( ( IndexType ) 0, this->getRows(), fetch, std::logical_and<>{}, true ); } template< typename Real, Loading
src/TNL/Matrices/Sandbox/SparseSandboxMatrixView.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -171,7 +171,7 @@ getNonzeroElementsCount() const auto fetch = [=] __cuda_callable__ ( const IndexType i ) -> IndexType { return ( columns_view[ i ] != paddingIndex ); }; return Algorithms::Reduction< DeviceType >::reduce( ( IndexType ) 0, this->columnIndexes.getSize(), fetch, std::plus<>{}, 0 ); return Algorithms::reduce< DeviceType >( ( IndexType ) 0, this->columnIndexes.getSize(), fetch, std::plus<>{}, 0 ); } else { Loading Loading @@ -901,7 +901,7 @@ operator==( const Matrix& m ) const { return view1.getRow( i ) == view2.getRow( i ); }; return Algorithms::Reduction< DeviceType >::reduce( 0, this->getRows(), fetch, std::logical_and<>{}, true ); return Algorithms::reduce< DeviceType >( 0, this->getRows(), fetch, std::logical_and<>{}, true ); } template< typename Real, Loading