Skip to content

Commit

Permalink
bugfix: Constraint.newConstraint() returns the wrong subclass
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Nov 5, 2024
1 parent d2bf959 commit 9693afa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static Constraint newConstraint(long constraintVa) {
return null;
}

int ordinal = getType(constraintVa);
int ordinal = getSubType(constraintVa);
EConstraintSubType subType = EConstraintSubType.values()[ordinal];
Constraint result;
switch (subType) {
Expand Down

0 comments on commit 9693afa

Please sign in to comment.