Project

General

Profile

gmx_traj_2009-01-28.patch

fix - Alexey Anikeenko, 01/28/2009 09:26 AM

View differences:

gmx_traj.c 2009-01-28 14:12:49.000000000 +0600
601 601
    snew(isize,ngroups);
602 602
    snew(index,ngroups);
603 603
    for (i=0; i<ngroups; i++) {
604
      if (index0[0][i] < 0 || index[0][i] >= mols->nr)
604
      if (index0[0][i] < 0 || index0[0][i] >= mols->nr)
605 605
	gmx_fatal(FARGS,"Molecule index (%d) is out of range (%d-%d)",
606 606
		  index0[0][i]+1,1,mols->nr);
607 607
      isize[i] = atndx[index0[0][i]+1] - atndx[index0[0][i]];