Fix compilation with gcc-9+ (#3262)
Summary: To fix `cannot resolve overloaded function ‘isinf’ based on conversion to type ‘torch::executor::FunctionRef<bool(double)>’` error Not sure how it ever worked before see https://godbolt.org/z/939YKdjqW Pull Request resolved: https://github.com/pytorch/executorch/pull/3262 Reviewed By: kimishpatel, manuelcandales Differential Revision: D56501235 Pulled By: malfet fbshipit-source-id: 6f89beef9fd56a80ecbb2df573821da95b2da746
N
Nikita Shulga committed
d98dc013b5633cc1a68133cf3ee6c2990d2f68f7
Parent: ba0caf8
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 4/24/2024, 2:27:29 AM