Commit eeef0440 authored by Evgeny Kusmenko's avatar Evgeny Kusmenko
Browse files

Merge branch 'patch-1' into 'master'

Fix false value range condition in NULLABLE_AXIS_WITHOUT_2

See merge request !36
parents a6752d04 d500e9a5
Pipeline #291876 passed with stage
in 10 minutes
......@@ -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