Skip to content
Snippets Groups Projects
Commit fd9e932b authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

catch all exceptions

[[Imported from SVN: r7909]]
parent a1e8abd3
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ void test()
}
int main()
int main() try
{
// choke on NaN -- don't enable this by default, as there are
// a few harmless NaN in the loopsolver
......@@ -74,4 +74,8 @@ int main()
test<Rotation<3,double>, 1>();
test<Rotation<3,double>, 2>();
} catch (Exception e) {
std::cout << e << std::endl;
}
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