Commit d500e9a5 authored by Han Zhang's avatar Han Zhang
Browse files

Fix false value range condition in NULLABLE_AXIS_WITHOUT_2

parent 4a92b69f
......@@ -212,7 +212,7 @@ public enum Constraints {
public boolean isValid(ArchSimpleExpressionSymbol exp) {
if (exp.getIntValue().isPresent()){
int intValue = exp.getIntValue().get();
return intValue >= -1 && intValue <= 2; // -1 is null
return intValue >= -1 && intValue < 2; // -1 is null
}
return false;
......
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