Skip to content
Snippets Groups Projects
Commit e70ef5bc authored by Jonas Blatt's avatar Jonas Blatt :ant:
Browse files

fix casting long value

parent bab88e97
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ public class BiCreaterLowerBounds extends AbstractBoundaryBiCreater<AbstractGrow
}
}
if (b1 instanceof LongBoundary) {
if ((long) b1.getLowerBound() + 1 == (int) b2.getLowerBound()
if ((long) b1.getLowerBound() + 1 == (long) b2.getLowerBound()
&& b1.getLowerBoundType() == EXCLUSIVE
&& b2.getLowerBoundType() == INCLUSIVE) {
return Optional.empty();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment