git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14900 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -95,7 +95,7 @@ int colvarbias_histogram::update()
|
||||
{
|
||||
int error_code = COLVARS_OK;
|
||||
// update base class
|
||||
error_code |= colvarbias::update();
|
||||
cvm::combine_errors(error_code, colvarbias::update());
|
||||
|
||||
if (cvm::debug()) {
|
||||
cvm::log("Updating histogram bias " + this->name);
|
||||
@ -148,7 +148,8 @@ int colvarbias_histogram::update()
|
||||
write_output_files();
|
||||
}
|
||||
|
||||
return error_code | cvm::get_error();
|
||||
cvm::combine_errors(error_code, cvm::get_error());
|
||||
return error_code;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user