********> bugfix.89 Author: Bill Ross Date: 2/22/97 Programs: Carnal Severity: Moderate Problem: Reference to a coordinate set >1 in a STATIC trajectory results in program hanging or crashing. Affects: Cannot use statset%2. Cause: A loop index was not advanced. Fix: Make the following change to util.c: ------------------------------------------------------------------------------- *** OLD util.c --- NEW util.c *************** *** 847,853 gettok(); setptr = idptr->idunion.stat.sets; setnum--; ! for (i=0; inext); return(setptr); } --- 847,853 ----- gettok(); setptr = idptr->idunion.stat.sets; setnum--; ! for (i=0; inext); return(setptr); } ------------------------------------------------------------------------------- Temporary workarounds: Extract the desired set as a file from the STATIC trajectory so that indexing is not required. --