Skip to content
Snippets Groups Projects
Commit 82d697c2 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

fixed error message

parent e72c061e
No related branches found
No related tags found
No related merge requests found
...@@ -179,7 +179,7 @@ int PdbRenumber::main(FILE* in, FILE*out,Communicator& pc) { ...@@ -179,7 +179,7 @@ int PdbRenumber::main(FILE* in, FILE*out,Communicator& pc) {
std::array<char,6> at; std::array<char,6> at;
unsigned ii=iat; unsigned ii=iat;
if(serials.size()>0) { if(serials.size()>0) {
plumed_assert(iat<serials.size()) << "there are more atoms in the PDB che serials in the file"; plumed_assert(iat<serials.size()) << "there are more atoms in the PDB than serials in the file";
ii=serials[iat]; ii=serials[iat];
} }
const char* msg = h36::hy36encode(5,ii,&at[0]); const char* msg = h36::hy36encode(5,ii,&at[0]);
......
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