Loading src/TNL/Matrices/Sandbox/SparseSandboxMatrix.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -112,7 +112,7 @@ SparseSandboxMatrix< Real, Device, Index, MatrixType, RealAllocator, IndexAlloca this->getColumns(), this->getValues().getConstView(), this->columnIndexes.getConstView(), this->segments.getConstView() ); const_cast< SparseSandboxMatrix* >( this )->rowPointers.getView() ); } template< typename Real, typename Device, typename Index, typename MatrixType, typename RealAllocator, typename IndexAllocator > Loading src/TNL/Matrices/Sandbox/SparseSandboxMatrixView.h +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ public: /** * \brief The type of matrix elements. */ using RealType = Real; using RealType = std::remove_const_t< Real >; // using ComputeRealType = ComputeReal; Loading src/TNL/Matrices/Sandbox/SparseSandboxMatrixView.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -793,7 +793,7 @@ template< typename Real, typename Device, typename Index, typename MatrixType > void SparseSandboxMatrixView< Real, Device, Index, MatrixType >::save( File& file ) const { MatrixView< RealType, DeviceType, IndexType >::save( file ); MatrixView< Real, Device, Index >::save( file ); file << this->columnIndexes << this->rowPointers; // SANDBOX_TODO: Replace this with medata required by your format } Loading Loading
src/TNL/Matrices/Sandbox/SparseSandboxMatrix.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -112,7 +112,7 @@ SparseSandboxMatrix< Real, Device, Index, MatrixType, RealAllocator, IndexAlloca this->getColumns(), this->getValues().getConstView(), this->columnIndexes.getConstView(), this->segments.getConstView() ); const_cast< SparseSandboxMatrix* >( this )->rowPointers.getView() ); } template< typename Real, typename Device, typename Index, typename MatrixType, typename RealAllocator, typename IndexAllocator > Loading
src/TNL/Matrices/Sandbox/SparseSandboxMatrixView.h +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ public: /** * \brief The type of matrix elements. */ using RealType = Real; using RealType = std::remove_const_t< Real >; // using ComputeRealType = ComputeReal; Loading
src/TNL/Matrices/Sandbox/SparseSandboxMatrixView.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -793,7 +793,7 @@ template< typename Real, typename Device, typename Index, typename MatrixType > void SparseSandboxMatrixView< Real, Device, Index, MatrixType >::save( File& file ) const { MatrixView< RealType, DeviceType, IndexType >::save( file ); MatrixView< Real, Device, Index >::save( file ); file << this->columnIndexes << this->rowPointers; // SANDBOX_TODO: Replace this with medata required by your format } Loading