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

Fixing tnlMatrix.

parent 8c239ea2
No related branches found
No related tags found
No related merge requests found
...@@ -273,7 +273,8 @@ bool tnlMatrix< Real, Device, Index > :: load( const tnlString& fileName ) ...@@ -273,7 +273,8 @@ bool tnlMatrix< Real, Device, Index > :: load( const tnlString& fileName )
} }
template< typename Real, typename Device, typename Index > template< typename Real, typename Device, typename Index >
tnlMatrix< Real, Device, Index >& tnlMatrix< Real, Device, Index > :: operator = ( const tnlMatrix< Real, Device, Index >& matrix ) template< typename Real2 >
tnlMatrix< Real, Device, Index >& tnlMatrix< Real, Device, Index > :: operator = ( const tnlMatrix< Real2, Device, Index >& matrix )
{ {
this -> size = matrix. getSize(); this -> size = matrix. getSize();
/*if( ! rowsReorderingPermutation. setSize( matrix. rowsReorderingPermutation. getSize() ) ) /*if( ! rowsReorderingPermutation. setSize( matrix. rowsReorderingPermutation. getSize() ) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment