Skip to content

[staggered][io] Enforce the use of decltype(partSol) as template argument

Kilian Weishaupt requested to merge feature/increase-type-safety-partial into master
  • when passing the result of partial(sol) to the staggered vtkWriter, one has to make sure the type of the sol vec (Dune::MultitypeBlockVector storing references) passed to the constructor is the same as the one used as template argument
  • failing to do so results in a segfault
  • this commit ensures the correct types at compile time

Fixes #692 (closed)

Merge request reports