Skip to content
Snippets Groups Projects
Commit f9ec985d authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Give LocalADOLCStiffness a virtual constructor

I has virtual methods, and therefore also needs a virtual destructor.
parent 4528d18e
No related branches found
No related tags found
No related merge requests found
Pipeline #31661 passed
...@@ -35,6 +35,8 @@ public: ...@@ -35,6 +35,8 @@ public:
, useHessian2_(useHessian2) , useHessian2_(useHessian2)
{} {}
virtual ~LocalADOLCStiffness() {}
/** \brief Compute the energy at the current configuration */ /** \brief Compute the energy at the current configuration */
virtual double energy (const LocalView& localView, virtual double energy (const LocalView& localView,
const std::vector<double>& localConfiguration) const; const std::vector<double>& localConfiguration) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment