diff --git a/dynamics/src/CGDynamicsKernel.cpp b/dynamics/src/CGDynamicsKernel.cpp index 64d6d974b..fd779060d 100644 --- a/dynamics/src/CGDynamicsKernel.cpp +++ b/dynamics/src/CGDynamicsKernel.cpp @@ -26,7 +26,7 @@ void CGDynamicsKernel::initialise( DynamicsKernel::initialise(coords, isSpherical, mask); //! Initialize the parametric momentum map - pmap = std::make_unique>(*smesh); + pmap = std::make_unique>(*smesh); pmap->InitializeLumpedCGMassMatrix(); pmap->InitializeDivSMatrices(); diff --git a/dynamics/src/include/CGDynamicsKernel.hpp b/dynamics/src/include/CGDynamicsKernel.hpp index f87a63929..ad8a2a9b7 100644 --- a/dynamics/src/include/CGDynamicsKernel.hpp +++ b/dynamics/src/include/CGDynamicsKernel.hpp @@ -37,7 +37,6 @@ class CGDynamicsKernel : public DynamicsKernel { public: CGDynamicsKernel() - : pmap(nullptr) { } virtual ~CGDynamicsKernel() = default; @@ -73,7 +72,7 @@ class CGDynamicsKernel : public DynamicsKernel { CGVector uAtmos; CGVector vAtmos; - std::unique_ptr> pmap; + std::unique_ptr> pmap; }; } /* namespace Nextsim */