diff --git a/src/FDM/YASim/Vector.hpp b/src/FDM/YASim/Vector.hpp index e1a493c80..f290f0ae0 100644 --- a/src/FDM/YASim/Vector.hpp +++ b/src/FDM/YASim/Vector.hpp @@ -21,9 +21,9 @@ public: private: void realloc(); - int _nelem; - int _sz; - void** _array; + int _nelem {0}; + int _sz {0}; + void** _array {nullptr}; }; inline Vector::Vector()