Skip to content

Commit

Permalink
Fixed size inconsistency between allocating and enlarging
Browse files Browse the repository at this point in the history
  • Loading branch information
PieterOlivier committed Oct 24, 2024
1 parent 803724c commit eadc959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/rascalmpl/parser/gtd/stack/AbstractStackNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ public int updateOvertakenNullableNode(AbstractStackNode<P> predecessor, Abstrac
}

if(propagatedPrefixes == null){
propagatedPrefixes = new BitSet(edgesMapSize);
propagatedPrefixes = new BitSet(possibleMaxSize);
}else{
propagatedPrefixes.enlargeTo(possibleMaxSize);
}
Expand Down

0 comments on commit eadc959

Please sign in to comment.