Commit e9f6d3ed authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixing the dense matrix.

parent e1ad4cb0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ class tnlDenseMatrix : public tnlMatrix< Real, Device, Index >
                const RealType& thisRowMultiplicator = 1.0 );

   __cuda_callable__
   Real getElementFast( const IndexType row,
   const Real& getElementFast( const IndexType row,
                               const IndexType column ) const;

   Real getElement( const IndexType row,
+1 −1
Original line number Diff line number Diff line
@@ -281,7 +281,7 @@ template< typename Real,
          typename Device,
          typename Index >
__cuda_callable__
Real tnlDenseMatrix< Real, Device, Index >::getElementFast( const IndexType row,
const Real& tnlDenseMatrix< Real, Device, Index >::getElementFast( const IndexType row,
                                                            const IndexType column ) const
{
   tnlAssert( row >= 0 && row < this->getRows() &&