Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SmallMatrix: Assert Lower Bound Index (#4283)
## Summary With 1-based indices, it is easy to access `0` and be out-of-bounds. Add an assert for the lower bound of the index range as well. ## Additional background Follow-up to #4188 ## Checklist The proposed changes: - [ ] fix a bug or incorrect behavior in AMReX - [x] add new capabilities to AMReX - [ ] changes answers in the test suite to more than roundoff level - [ ] are likely to significantly affect the results of downstream AMReX users - [ ] include documentation in the code and/or rst files, if appropriate
- Loading branch information