Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix possible crash in PAL labeling engine due to incorrect size initi…
…alization of vector If the number of candidates is < the number of features (i.e. some features have no candidates), we'll get a crash. And if the number of candidates >> number of features (the usual case), we're just creating a much larger vector than we'll ever use... (I think. It's pal. No-one know for sure.)
- Loading branch information
1 parent
d89745a
commit 1788e2e
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters