From b2707a8137e44c8bc50b19173bdedbeda8a991b4 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Fri, 6 May 2022 11:38:10 +0200 Subject: [PATCH] changed: make SIMbase::project virtual needs to allow overriding in subclasses for when implementing support for alternative projection bases --- src/SIM/SIMbase.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SIM/SIMbase.h b/src/SIM/SIMbase.h index db776bb5..ca9e270b 100644 --- a/src/SIM/SIMbase.h +++ b/src/SIM/SIMbase.h @@ -503,9 +503,9 @@ public: //! \details The secondary solution, defined through the Integrand object, //! corresponding to the primary solution \a psol is projected onto the //! spline basis to obtain the control point values of the secondary solution. - bool project(Matrix& ssol, const Vector& psol, - SIMoptions::ProjectionMethod pMethod = SIMoptions::GLOBAL, - const TimeDomain& time = TimeDomain()) const; + virtual bool project(Matrix& ssol, const Vector& psol, + SIMoptions::ProjectionMethod pMethod = SIMoptions::GLOBAL, + const TimeDomain& time = TimeDomain()) const; //! \brief Projects the secondary solution associated with a primary solution. //! \param[out] ssol Vector of control point values of the secondary solution //! \param[in] psol Vector of control point values of the primary solution