In the VisAD version with a doc/DATE of Thu Nov 1 09:21:01 CST 2001, change
line 365 in Gridded1DSet.java from
if (solv >= -0.5 && solv <= LengthX - 0.5) grid[0][i] = solv;
to
if (solv >= -0.5 && solv < LengthX - 0.5) grid[0][i] = solv;
One of the callers of valueToGrid takes the result and does (int)(solv +
0.5) to get an integer index. When solv == LengthX - 0.5, the result =
LengthX, which when used as an index in an array with length == LengthX,
gives an IndexOutOfBoundsException.
Randall W. Simons
Sandia National Laboratories