Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
2a3fbc12
Commit
2a3fbc12
authored
Jul 19, 2018
by
Praetorius, Simon
Browse files
warning: catch exception by value, removed
parent
48bb3924
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/amdis/linear_algebra/mtl/itl/fgmres.hpp
View file @
2a3fbc12
...
...
@@ -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
}
...
...
src/amdis/linear_algebra/mtl/itl/fgmres_householder.hpp
View file @
2a3fbc12
...
...
@@ -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
}
...
...
src/amdis/linear_algebra/mtl/itl/gmres2.hpp
View file @
2a3fbc12
...
...
@@ -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
}
...
...
src/amdis/linear_algebra/mtl/itl/gmres_householder.hpp
View file @
2a3fbc12
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment