Commit 547a6c85 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed sandbox matrix

parent 98cfb416
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 >
+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ public:
   /**
    * \brief The type of matrix elements.
    */
   using RealType = Real;
   using RealType = std::remove_const_t< Real >;

   // using ComputeRealType = ComputeReal;

+1 −1
Original line number Diff line number Diff line
@@ -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
}