pytorch
7d917a52 - [JIT][easy] Fix off-by-one error in tupleIndex (#72447)

Commit
2 years ago
[JIT][easy] Fix off-by-one error in tupleIndex (#72447) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/72447 `norm_index == tuple->elements().size()` should throw `out_of_range` ghstack-source-id: 148626747 Test Plan: CI Reviewed By: JacobSzwejbka Differential Revision: D34049977 fbshipit-source-id: 8766f7d07736b0e318062a23ddb5a09af2d7f8f3 (cherry picked from commit b902723961ba92a81536e237bff58fdccb74c9fd)
Author
Mike Iovine
Committer
Parents
Loading