Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
veanes committed Nov 4, 2021
1 parent 5e06758 commit a4c1e04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public BDD CharConstraint(char c, bool ignoreCase = false, string? culture = nul
{
//individual character BDDs are always fixed
BDD[] charPredTable = _charPredTable;
return c < charPredTable ?
return c < charPredTable.Length ?
charPredTable[c] ??= CreateBDDFromChar(c) :
CreateBDDFromChar(c);
}
Expand Down

0 comments on commit a4c1e04

Please sign in to comment.