diff --git a/paddle/capi/Main.cpp b/paddle/capi/Main.cpp index 7f24561e9aafc1e900f6371ad3c7e5a45033a9ef..78c43949dfe325d0e1a6ba10ae51cb7b858f6c52 100644 --- a/paddle/capi/Main.cpp +++ b/paddle/capi/Main.cpp @@ -25,7 +25,6 @@ limitations under the License. */ static void initPaddle(int argc, char** argv) { paddle::initMain(argc, argv); paddle::initPython(argc, argv); - feenableexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW); } extern "C" {