Commit 1f624103 authored by Lukas Cejka's avatar Lukas Cejka Committed by Tomáš Oberhuber
Browse files

Reformatted code.

parent 7e6c2f86
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -83,14 +83,10 @@ public:
   __cuda_callable__
   IndexType getRowLengthFast( const IndexType row ) const;
   
#ifdef HAVE_CUDA
   //__device__
   //void getNonZeroRowLengthCudaKernel( const MatrixRow row, typename MatrixRow::IndexType* result );
   
   IndexType getNonZeroRowLength( const IndexType row ) const;
   
   IndexType getNonZeroRowLengthFast( const IndexType row ) const;
#endif
   
   template< typename Real2, typename Device2, typename Index2 >
   void setLike( const CSR< Real2, Device2, Index2 >& matrix );

+1 −0
Original line number Diff line number Diff line
@@ -138,6 +138,7 @@ Index CSR< Real, Device, Index >::getNonZeroRowLength( const IndexType row ) con
{
    // TODO: Fix/Implement
    TNL_ASSERT( false, std::cerr << "TODO: Fix/Implement" );
    return 0;
//    if( std::is_same< DeviceType, Devices::Host >::value )
//    {
//       ConstMatrixRow matrixRow = this->getRow( row );
+1 −0
Original line number Diff line number Diff line
@@ -135,6 +135,7 @@ getNonZeroElementsCount() const
{
//    TODO: Fix/Implement
    TNL_ASSERT( false, std::cerr << "TODO: Fix/Implement" );
    return 0;
//    using NonConstIndex = typename std::remove_const< Index >::type;
//    
//    NonConstIndex elementCount ( 0 );