Small formatting changes.

This commit is contained in:
Nick Thompson 2021-04-12 13:05:36 -04:00
parent a8e25da0ab
commit 568c0b5d29
2 changed files with 5 additions and 7 deletions

@ -164,7 +164,7 @@ public:
}
catch (vtkm::cont::Error const& error)
{
std::cerr << "Uncaught VTKm exception thrown:" << error.GetMessage() << "\n";
std::cerr << error.GetMessage() << "\n";
return 1;
}
catch (std::exception const& error)
@ -194,14 +194,12 @@ public:
catch (vtkm::testing::Testing::TestFailure& error)
{
std::cerr << "Error at " << error.GetFile() << ":" << error.GetLine() << ":"
<< error.GetFunc() << "\n\t";
<< error.GetMessage() << "\n";
<< error.GetFunc() << "\n\t" << error.GetMessage() << "\n";
return 1;
}
catch (vtkm::cont::Error& error)
{
std::cerr << "Uncaught VTKm exception thrown.\n\t";
<< error.GetMessage() << "\n";
std::cerr << error.GetMessage() << "\n";
return 1;
}
catch (std::exception& error)
@ -211,7 +209,7 @@ public:
}
catch (...)
{
std::cout << "Unidentified exception thrown.\n";
std::cerr << "Unidentified exception thrown.\n";
return 1;
}
return 0;

@ -916,7 +916,7 @@ struct ScalarVectorFieldTests : public vtkm::exec::FunctorBase
"Float distance for difference of products is which exceeds 1.5; this is in violation of a "
"theorem "
"proved by Jeannerod in doi.org/10.1090/S0025-5718-2013-02679-8. Is your build compiled "
"with fma's enabled?");
"with FMAs enabled?");
#endif
}