Skip to content
Snippets Groups Projects
Commit 23b35c73 authored by Gareth Tribello's avatar Gareth Tribello
Browse files

Fixed bug in DISTANCES that appears when you use BETWEEN and link cells

parent d5975898
No related branches found
No related tags found
No related merge requests found
...@@ -154,6 +154,7 @@ See branch \branch{v2.3} on git repository. ...@@ -154,6 +154,7 @@ See branch \branch{v2.3} on git repository.
- fix a bug in \ref CS2BACKBONE (v2.3.1) related to ring currents of HIS and TRP - fix a bug in \ref CS2BACKBONE (v2.3.1) related to ring currents of HIS and TRP
- Fixed bug in if condition in \ref PCAVARS so that you can run with only one eigenvector defined in input - Fixed bug in if condition in \ref PCAVARS so that you can run with only one eigenvector defined in input
- Fixed bug in \ref HBONDS that used to apear when you used DONORNS and ACCEPTORS with same numbers of atoms - Fixed bug in \ref HBONDS that used to apear when you used DONORNS and ACCEPTORS with same numbers of atoms
- Fixed bug in \ref DISTANCES that appears when using BETWEEN and link cells.
For developers: For developers:
- plumedcheck validation has been made stricter. All the checks are now described in the developer manual. - plumedcheck validation has been made stricter. All the checks are now described in the developer manual.
......
...@@ -165,7 +165,7 @@ PLUMED_MULTICOLVAR_INIT(ao) ...@@ -165,7 +165,7 @@ PLUMED_MULTICOLVAR_INIT(ao)
use_link=true; rcut=lt->getCutoff(); use_link=true; rcut=lt->getCutoff();
} else { } else {
vesselbase::Between* bt=dynamic_cast<vesselbase::Between*>( getPntrToVessel(0) ); vesselbase::Between* bt=dynamic_cast<vesselbase::Between*>( getPntrToVessel(0) );
if( bt ) use_link=true; rcut=bt->getCutoff(); if( bt ){ use_link=true; rcut=bt->getCutoff(); }
} }
if( use_link ){ if( use_link ){
for(unsigned i=1;i<getNumberOfVessels();++i){ for(unsigned i=1;i<getNumberOfVessels();++i){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment