Skip to content

Commit e4a72cd

Browse files
committed
namespace isnan
1 parent 42c5780 commit e4a72cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spatial/src/spatial/core/functions/scalar/st_hilbert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ inline uint32_t HilbertEncode(uint32_t n, uint32_t x, uint32_t y) {
7979

8080
static uint32_t FloatToUint32(float f)
8181
{
82-
if (isnan(f)) {
82+
if (std::isnan(f)) {
8383
return 0xFFFFFFFF;
8484
}
8585
uint32_t res;

0 commit comments

Comments
 (0)