Commit 97ea5b46 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'fix/vtk-field' into 'master'

[io][vtkfunction] return copy of shared ptr

See merge request !1674
parents 3ef47227 b08e6bbd
......@@ -286,7 +286,7 @@ public:
{ return field_->evaluate(mycomp, element, xi); }
//! returns the underlying vtk function
const std::shared_ptr<Dune::VTKFunction<GridView>>& get() const
std::shared_ptr<const Dune::VTKFunction<GridView>> get() const
{ return field_; }
private:
......
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