Skip to content
Snippets Groups Projects

make StandardProblemIteration copyable

Merged Praetorius, Simon requested to merge issue/copyable_standarditeration into master
3 files
+ 56
3
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 2
3
@@ -49,7 +49,7 @@ namespace AMDiS
template <class Traits>
class ProblemStat
: public ProblemStatBase
, public StandardProblemIteration
, public StandardProblemIterationAdaptor<ProblemStat<Traits>>
{
using Self = ProblemStat;
@@ -81,8 +81,7 @@ namespace AMDiS
* access values corresponding to this problem in the parameter file.
**/
explicit ProblemStat(std::string const& name)
: StandardProblemIteration(dynamic_cast<ProblemStatBase&>(*this))
, name_(name)
: name_(name)
{}
/// Constructor taking additionally a reference to a grid that is used
Loading