Skip to content
Snippets Groups Projects
Commit 6e95a2a7 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[test] Make backward compatible with dune 2.5

parent 6963543f
No related branches found
No related tags found
1 merge request!750[test] Make backward compatible with dune 2.5
......@@ -59,11 +59,13 @@ int main (int argc, char *argv[]) try
{0.0, 0.0, 1.0}, {1.0, 0.0, 1.0}, {0.0, 1.0, 1.0}, {1.0, 1.0, 1.0}
});
Dune::MultiLinearGeometry<double, dim, dimworld>
#if DUNE_VERSION_NEWER(DUNE_COMMON,2,6)
Dune::MultiLinearGeometry<double, dim, dimworld>
cube(Dune::GeometryTypes::cube(dimworld), cubeCorners);
#else
Dune::GeometryType geomType; geomType.makeCube(3);
Dune::GeometryType geomType;
geomType.makeCube(3);
Dune::MultiLinearGeometry<double, dim, dimworld>
cube(geomType, cubeCorners);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment