small updates/corrections from giacomo

This commit is contained in:
Axel Kohlmeyer
2013-06-11 06:16:49 +02:00
parent 4bc2ed40d3
commit 0567f76d4c
3 changed files with 5 additions and 2 deletions

View File

@ -167,6 +167,9 @@ colvar::colvar (std::string const &conf)
// check the available features of each cvc
for (size_t i = 0; i < cvcs.size(); i++) {
if ((cvcs[i])->b_debug_gradients)
enable (task_gradients);
if ((cvcs[i])->sup_np != 1) {
if (cvm::debug() && b_linear)
cvm::log ("Warning: You are using a non-linear polynomial "