diff --git a/test/BackupRestoreTest.cpp b/test/BackupRestoreTest.cpp index c86708924808ef627ed145e9754bd28055806ca2..214c9fcd8de1ee0256334124d27baeb5f4650143 100644 --- a/test/BackupRestoreTest.cpp +++ b/test/BackupRestoreTest.cpp @@ -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(); }