Commit ce5ed269 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Workaround for a bug in GCC 11.1.0

Amends e5fc6a96
parent 58c4783a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1441,7 +1441,7 @@ void test_VectorProductCSRAdaptive()
   if( std::is_same< DeviceType, TNL::Devices::Cuda >::value )
   {
        typedef typename Matrix::template Self< RealType, TNL::Devices::Host, IndexType > HostMatrixType;
        typename HostMatrixType::RowsCapacitiesType rowLengths( {m_cols} );
        typename HostMatrixType::RowsCapacitiesType rowLengths = {m_cols};
        HostMatrixType hostMatrix;
        hostMatrix.setDimensions( m_rows, m_cols );
        hostMatrix.setCompressedRowLengths( rowLengths );