Commit d4761873 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[box][scv] Fix deprecation warning

* Use new ctor for dune geometry
parent c49ae75b
......@@ -82,7 +82,7 @@ public:
// e.g. for integration
Geometry geometry() const
{
return Geometry(Dune::GeometryType(Dune::GeometryType::cube, dim), corners_);
return Geometry(Dune::GeometryTypes::cube(dim), corners_);
}
//! The global index of this scv
......
Supports Markdown
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