Skip to content
Snippets Groups Projects

change AMDiS::init to Environment in BackupRestoreTest

Merged Praetorius, Simon requested to merge issue/environment_in_tests into master
1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
@@ -89,7 +89,7 @@ void test_simplex()
int main(int argc, char** argv)
{
AMDiS::init(argc, argv);
Environment env(argc, argv);
std::string filename = "test";
Parameters::set("test->backup->grid", filename + ".grid");
@@ -131,6 +131,5 @@ int main(int argc, char** argv)
// test_simplex<Dune::AlbertaGrid<2,2>>(); // Segmentation fault
// test_simplex<Dune::FoamGrid<2,2>>(); // Segmentation fault
AMDiS::finalize();
return report_errors();
}
Loading