From 74fea8ae08eba6946f58675fb0444d8efc3bb0d2 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 15 Nov 2024 06:24:29 -0500 Subject: [PATCH] must initialize copymode in base class --- src/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command.h b/src/command.h index 222ed5e34f..0122727463 100644 --- a/src/command.h +++ b/src/command.h @@ -20,7 +20,7 @@ namespace LAMMPS_NS { class Command : protected Pointers { public: - Command(class LAMMPS *lmp) : Pointers(lmp) {}; + Command(class LAMMPS *lmp) : Pointers(lmp), copymode(0) {}; virtual void command(int, char **) = 0; protected: