From d7fa3ba7185fc01b61b3fb1ca3ac5bb26c358efa Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 21 Jul 2016 09:50:37 -0400 Subject: [PATCH] correct test for input value --- lib/colvars/colvarbias_alb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/colvars/colvarbias_alb.cpp b/lib/colvars/colvarbias_alb.cpp index e6865ae15b..8c8956082e 100644 --- a/lib/colvars/colvarbias_alb.cpp +++ b/lib/colvars/colvarbias_alb.cpp @@ -81,7 +81,7 @@ int colvarbias_alb::init(std::string const &conf) //we split the time between updating and equilibrating update_freq /= 2; - if (update_freq == 0) + if (update_freq <= 1) cvm::fatal_error("Error: must set updateFrequency to greater than 2.\n"); enable(f_cvb_history_dependent);