• Ada Martin's avatar
    c++ marching cubes fix · c292c71c
    Ada Martin authored
    Summary:
    Fixes https://github.com/facebookresearch/pytorch3d/issues/1641. The bug was caused by the mistaken downcasting of an int64_t into int, causing issues only on inputs large enough to have hashes that escaped the bounds of an int32.
    
    Also added a test case for this issue.
    
    Reviewed By: bottler
    
    Differential Revision: D53505370
    
    fbshipit-source-id: 0fdd0efc6d259cc3b0263e7ff3a4ab2c648ec521
    c292c71c
test_marching_cubes.py 37.3 KB