diff --git a/paddle/fluid/framework/async_executor.h b/paddle/fluid/framework/async_executor.h index 95c8472b2f3b6b0c2d95fcf0c0b6f00e7f39b032..7accc4cb57b332b8dbe8c159750b649d67e11e29 100644 --- a/paddle/fluid/framework/async_executor.h +++ b/paddle/fluid/framework/async_executor.h @@ -39,7 +39,7 @@ inline double current_realtime() { clock_gettime(CLOCK_REALTIME, &tp); return tp.tv_sec + tp.tv_nsec * 1e-9; #else - return 0.0; + return 0; #endif }