You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix underflow error in calculate_dim_order() (#5498)
Summary:
Pull Request resolved: #5498
## Context
FIx an underflow error. The issue is that `ndim` is unsigned, therefore if it is `0` when it gets subtracted by one it underflows. Not sure why this wasn't caught by CI tests before.
ghstack-source-id: 243610987
exported-using-ghexport
Reviewed By: jorgep31415
Differential Revision: D63050011
fbshipit-source-id: d5ea57c00d3b5c4adb577c74d7a10c7840643ae3
0 commit comments