Skip to content
Snippets Groups Projects
Commit 4e8b5b32 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

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

* 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
parent d3c24f34
No related branches found
No related tags found
1 merge request!1568[staggered][io] Enforce the use of decltype(partSol) as template argument
Loading
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