Skip to content

[porousmediumflow] fix problem constructor

Bernd Flemisch requested to merge fix/pmproblem-constructor into master

The Problem constructor called the SpatialParams constructor in the intializer list, passing itself via this->asImp(). This lead to segfaults since the constructor of the ParentType had not been called before. Fix by copying the working constructor instead of calling it.

Fixes #486 (closed).

Merge request reports