[Richards] Fix const type in parameter cache test

parent 78a4bf3c
......@@ -169,8 +169,8 @@ bool compare_parameters (const FlowParameters& fparam1,
fparam1.bind(cell);
fparam2.bind(cell);
using RP = Dune::Dorie::RichardsParameterization<Traits<2>>;
auto par1 = std::get<const std::shared_ptr<const RP>>(fparam1.cache());
auto par2 = std::get<const std::shared_ptr<const RP>>(fparam2.cache());
auto par1 = std::get<std::shared_ptr<const RP>>(fparam1.cache());
auto par2 = std::get<std::shared_ptr<const RP>>(fparam2.cache());
auto parameters1 = par1->parameters();
auto parameters2 = par2->parameters();
......
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