Commit d37109a2 authored by mey's avatar mey
Browse files

AbstractGridFilteringOp.java: fixed error message text

parent 8c59bde1
......@@ -93,7 +93,7 @@ abstract class AbstractGridFilteringOp implements GridFilteringOp {
*/
public DoubleGrid2D filter(DoubleGrid2D src, DoubleGrid2D dest, BooleanGrid selection) {
if (src == dest) {
throw new IllegalArgumentException("Source and destination grids must not be different objects.");
throw new IllegalArgumentException("Source and destination grids must be different objects.");
}
int width = src.getWidth();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment