Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#158 Bug in DefaultContourDataSet.indexZ method

open
nobody
None
5
2012-11-27
2003-04-16
Will Williams
No

This indexZ method of the DefaultContourDataSet does
not work as written. Here is the change that fixes it:

public int indexZ(int i, int j) {
// return xValues.length * j + i;
return xIndex[j] + i;
}

There may be a better way to do this. I did not
research this very far.

By the way, wouldn't it make more sense (to the reader)
if the arguments were "x" and "y"?

Richard

Discussion