Commit 2a3fbc12 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

warning: catch exception by value, removed

parent 48bb3924
Pipeline #1129 passed with stage
in 3 minutes and 7 seconds
......@@ -153,7 +153,7 @@ namespace itl
{
y[range] = upper_trisolve(H[range][range], s[range]);
}
catch (mtl::matrix_singular)
catch (mtl::matrix_singular const&)
{
continue; // if singular then try with sub-matrix
}
......
......@@ -166,7 +166,7 @@ namespace itl
{
y[range] = upper_trisolve(H[range][range], s[range]);
}
catch (mtl::matrix_singular)
catch (mtl::matrix_singular const&)
{
continue; // if singular then try with sub-matrix
}
......
......@@ -154,7 +154,7 @@ namespace itl
{
y[range] = upper_trisolve(H[range][range], s[range]);
}
catch (mtl::matrix_singular)
catch (mtl::matrix_singular const&)
{
continue; // if singular then try with sub-matrix
}
......
......@@ -162,7 +162,7 @@ namespace itl
{
y[range] = upper_trisolve(H[range][range], s[range]);
}
catch (mtl::matrix_singular)
catch (mtl::matrix_singular const&)
{
continue; // if singular then try with sub-matrix
}
......
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