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

catch exceptions

[[Imported from SVN: r7304]]
parent 51b7443d
No related branches found
No related tags found
No related merge requests found
......@@ -351,7 +351,7 @@ void testUnitVector3d()
}
int main()
int main() try
{
testUnitVector2d();
testUnitVector3d();
......@@ -389,5 +389,9 @@ int main()
std::cout << UnitVector<2>::secondDerivativeOfDistanceSquaredWRTSecondArgument(uv0, uv1) << std::endl;
std::cout << Rotation<2,double>::secondDerivativeOfDistanceSquaredWRTSecondArgument(ro0, ro1) << std::endl;
#endif
} 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