From 89b43c941fb247aee51cb481b049dce94f91290e Mon Sep 17 00:00:00 2001 From: Tomas Oberhuber <tomas.oberhuber@fjfi.cvut.cz> Date: Mon, 13 May 2013 09:56:16 +0200 Subject: [PATCH] Fixing tnlMatrix. --- src/matrix/tnlMatrix.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/matrix/tnlMatrix.h b/src/matrix/tnlMatrix.h index 65ad440c4a..913ad7c284 100644 --- a/src/matrix/tnlMatrix.h +++ b/src/matrix/tnlMatrix.h @@ -273,7 +273,8 @@ bool tnlMatrix< Real, Device, Index > :: load( const tnlString& fileName ) } 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(); /*if( ! rowsReorderingPermutation. setSize( matrix. rowsReorderingPermutation. getSize() ) ) -- GitLab