diff --git a/src/angle.cpp b/src/angle.cpp index caa86d691e..8132146ba4 100644 --- a/src/angle.cpp +++ b/src/angle.cpp @@ -360,7 +360,7 @@ double Angle::memory_usage() void Angle::reinit() { - if (!reinitflag) + if (!reinitflag) error->all(FLERR, "Fix adapt interface to this angle style not supported"); init(); diff --git a/src/bond.cpp b/src/bond.cpp index 7f7b6aa3a3..a208b5a7e4 100644 --- a/src/bond.cpp +++ b/src/bond.cpp @@ -342,7 +342,7 @@ double Bond::memory_usage() void Bond::reinit() { - if (!reinitflag) + if (!reinitflag) error->all(FLERR, "Fix adapt interface to this bond style not supported"); init();