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

Fix for Clang compatibility.

parent 33e016ad
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1402,7 +1402,7 @@ void test_VectorProductCSRAdaptive()

   if( std::is_same< DeviceType, TNL::Devices::Cuda >::value )
   {
      typedef typename Matrix::Self< RealType, TNL::Devices::Host, IndexType > HostMatrixType;
      typedef typename Matrix::template Self< RealType, TNL::Devices::Host, IndexType > HostMatrixType;
      typename HostMatrixType::CompressedRowLengthsVector rowLengths( 100, 100 );
      HostMatrixType hostMatrix;
      hostMatrix.setDimensions( m_rows, m_cols );
@@ -1440,7 +1440,7 @@ void test_VectorProductCSRAdaptive()

   if( std::is_same< DeviceType, TNL::Devices::Cuda >::value )
   {
      typedef typename Matrix::Self< RealType, TNL::Devices::Host, IndexType > HostMatrixType;
      typedef typename Matrix::template Self< RealType, TNL::Devices::Host, IndexType > HostMatrixType;
      typename HostMatrixType::CompressedRowLengthsVector rowLengths( {m_cols} );
      HostMatrixType hostMatrix;
      hostMatrix.setDimensions( m_rows, m_cols );