• Shangchen Han's avatar
    make so3_log_map torch script compatible · 46f727cb
    Shangchen Han authored
    Summary:
    * HAT_INV_SKEW_SYMMETRIC_TOL was a global variable and torch script gives an error when compiling that function. Move it to the function scope.
    * torch script gives error when compiling acos_linear_extrapolation because bound is a union of tuple and float. The tuple version is kept in this diff.
    
    Reviewed By: patricklabatut
    
    Differential Revision: D30614916
    
    fbshipit-source-id: 34258d200dc6a09fbf8917cac84ba8a269c00aef
    46f727cb
math.py 2.85 KB