|
|||||||||||||||||||||||||||||||||
AMBER Archive (2003)Subject: AMBER: ?small bugs? - 2nd suggestion
From: Chris Moth (Chris.Moth_at_vanderbilt.edu)
I see now that the role of k and j in the original make_crd_gh code is to
However, in my bug demo case, the code below may be executed with j=2, and
if(((NGREC.gt.0).and.(RSTART(j).lt.LSTART(k))).or.
Perhaps changing the above original code to:
if(((j.le.NGREC).and.(RSTART(j).lt.LSTART(k))).or.
will solve this, and preserve the intent of the original code and fix the
elseif(((k.le.NGLIG).and.(LSTART(k).lt.RSTART(j))).or.
Chris
-----------------------------------------------------------------------
| |||||||||||||||||||||||||||||||||
|