Skip to content

Commit

Permalink
Fix NAMD implementation of smp_enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jhenin committed Dec 4, 2023
1 parent 00dad22 commit 2d29389
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions namd/src/colvarproxy_namd.C
Original file line number Diff line number Diff line change
Expand Up @@ -1466,12 +1466,9 @@ int colvarproxy_namd::compute_volmap(int flags,

#if CMK_SMP && USE_CKLOOP // SMP only

int colvarproxy_namd::check_smp_enabled()
bool colvarproxy_namd::smp_enabled()
{
if (b_smp_active) {
return COLVARS_OK;
}
return COLVARS_ERROR;
return b_smp_active;
}


Expand Down

0 comments on commit 2d29389

Please sign in to comment.