Skip to content

Commit

Permalink
WatershedBinary: fix bug in conforms() method
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Oct 17, 2018
1 parent e287da8 commit b195780
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -110,7 +110,7 @@ public void compute(final RandomAccessibleInterval<T> in, final ImgLabeling<Inte

@Override
public boolean conforms() {
boolean conformed = sigma.length != in().numDimensions();
boolean conformed = sigma.length >= in().numDimensions();
for (int i = 0; i < sigma.length; i++) {
conformed &= sigma[i] >= 0;
}
Expand Down

0 comments on commit b195780

Please sign in to comment.