include bugfix from colvars git repo
This commit is contained in:
@ -406,11 +406,11 @@ colvar::colvar(std::string const &conf)
|
|||||||
const bool found = get_keyval(conf, "extendedTemp", temp, cvm::temperature());
|
const bool found = get_keyval(conf, "extendedTemp", temp, cvm::temperature());
|
||||||
if (temp <= 0.0) {
|
if (temp <= 0.0) {
|
||||||
if (found)
|
if (found)
|
||||||
cvm::log("Error: \"extendedTemp\" must be positive.\n");
|
cvm::error("Error: \"extendedTemp\" must be positive.\n", INPUT_ERROR);
|
||||||
else
|
else
|
||||||
cvm::error("Error: a positive temperature must be provided, either "
|
cvm::error("Error: a positive temperature must be provided, either "
|
||||||
"by enabling a thermostat, or through \"extendedTemp\".\n",
|
"by enabling a thermostat, or through \"extendedTemp\".\n",
|
||||||
INPUT_ERROR);
|
INPUT_ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
get_keyval(conf, "extendedFluctuation", tolerance);
|
get_keyval(conf, "extendedFluctuation", tolerance);
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
#define COLVARMODULE_H
|
#define COLVARMODULE_H
|
||||||
|
|
||||||
#ifndef COLVARS_VERSION
|
#ifndef COLVARS_VERSION
|
||||||
#define COLVARS_VERSION "2014-10-29"
|
#define COLVARS_VERSION "2014-10-30"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef COLVARS_DEBUG
|
#ifndef COLVARS_DEBUG
|
||||||
|
|||||||
Reference in New Issue
Block a user