Skip to content
Snippets Groups Projects
Commit 2a3fbc12 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

warning: catch exception by value, removed

parent 48bb3924
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment