Commit 5d2ddcab authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

change AMDiS::init to Environment in BackupRestoreTest

parent d0a4cbdf
......@@ -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();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment