Commit f8bfbd24 authored by Timo Koch's avatar Timo Koch
Browse files

[matrixmarket][cleanup] Fix warning about dangling else

parent 8bcafdcd
Pipeline #36776 passed with stage
in 48 minutes and 4 seconds
......@@ -921,10 +921,12 @@ namespace Dune
std::size_t rows, cols;
mm_read_header(rows,cols,header,istr, true);
if(Simd::lanes<field_type>() == 1)
DUNE_THROW(MatrixMarketFormatError, "cols!=1, therefore this is no vector!");
DUNE_THROW(MatrixMarketFormatError, "cols does not match the number of lanes in the field_type!");
DUNE_THROW(MatrixMarketFormatError, "Vectors have to be stored in array format!");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment