diff --git a/tests/functional/run_colvars_test.cpp b/tests/functional/run_colvars_test.cpp index 07b05f94b..5cee99a56 100644 --- a/tests/functional/run_colvars_test.cpp +++ b/tests/functional/run_colvars_test.cpp @@ -36,7 +36,7 @@ extern "C" int main(int argc, char *argv[]) { cvm::log("Reading trajectory for " + cvm::to_str(natoms) + " atoms from XYZ file " + argv[2]); for (int ai = 0; ai < natoms; ai++) { - err |= proxy->init_atom(ai+1); + proxy->init_atom(ai+1); } int io_err = 0; while (!io_err) {