Skip to content

Commit

Permalink
removed obsolete/unused h_replica in reflect_multid routine
Browse files Browse the repository at this point in the history
  • Loading branch information
fabsugar authored and giacomofiorin committed Oct 13, 2023
1 parent d928c23 commit ee96944
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/colvarbias_meta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,6 @@ int colvarbias_meta::reflect_hill_multid(cvm::real const &h_scale)
}
}
if (hill_add) {
std::string h_replica = "";
switch (comm) {

case single_replica:
Expand All @@ -911,7 +910,6 @@ int colvarbias_meta::reflect_hill_multid(cvm::real const &h_scale)
break;

case multiple_replicas:
h_replica=replica_id;
add_hill(hill(cvm::step_absolute(), hill_weight*h_scale, curr_cv_values, colvar_sigmas, replica_id));
std::ostream *replica_hills_os =
cvm::proxy->get_output_stream(replica_hills_file);
Expand Down

0 comments on commit ee96944

Please sign in to comment.