Skip to content
Snippets Groups Projects
Commit e9f6d3ed authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixing the dense matrix.

parent e1ad4cb0
No related branches found
No related tags found
No related merge requests found
...@@ -122,8 +122,8 @@ class tnlDenseMatrix : public tnlMatrix< Real, Device, Index > ...@@ -122,8 +122,8 @@ class tnlDenseMatrix : public tnlMatrix< Real, Device, Index >
const RealType& thisRowMultiplicator = 1.0 ); const RealType& thisRowMultiplicator = 1.0 );
__cuda_callable__ __cuda_callable__
Real getElementFast( const IndexType row, const Real& getElementFast( const IndexType row,
const IndexType column ) const; const IndexType column ) const;
Real getElement( const IndexType row, Real getElement( const IndexType row,
const IndexType column ) const; const IndexType column ) const;
......
...@@ -281,7 +281,7 @@ template< typename Real, ...@@ -281,7 +281,7 @@ template< typename Real,
typename Device, typename Device,
typename Index > typename Index >
__cuda_callable__ __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 const IndexType column ) const
{ {
tnlAssert( row >= 0 && row < this->getRows() && tnlAssert( row >= 0 && row < this->getRows() &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment