ai_epsilon bug fixed in C (#5231)

pull/5235/head
Батхишиг 2023-09-18 05:48:30 -07:00 committed by GitHub
parent 59b1234496
commit fa71b84c1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ typedef unsigned int ai_uint;
#ifdef __cplusplus
constexpr ai_real ai_epsilon = (ai_real) 1e-6;
#else
const ai_real ai_epsilon = (ai_real) 1e-6;
#define ai_epsilon ((ai_real)1e-6)
#endif
/* Support for big-endian builds */