-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ragged masking out of bounds error.
Some meshes (e.g. QU240km) don't do masking of ragged indices with 0. Instead they use `nInidices+1` as the invalid value, which can produce out of bounds errors. Check if that the case, and if so set the out of bounds indices to (-1). Also moved the zero indexing to the minimal dataset construction to ensure it's done and done uniformly across arrays.
- Loading branch information
1 parent
6715340
commit eb1920d
Showing
1 changed file
with
36 additions
and
15 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