Skip to content
Snippets Groups Projects
Commit 5d2ddcab authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

change AMDiS::init to Environment in BackupRestoreTest

parent d0a4cbdf
No related branches found
No related tags found
1 merge request!59change AMDiS::init to Environment in BackupRestoreTest
......@@ -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();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment