Skip to content

Commit

Permalink
namespace isnan
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxxen committed Sep 6, 2024
1 parent 42c5780 commit e4a72cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spatial/src/spatial/core/functions/scalar/st_hilbert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ inline uint32_t HilbertEncode(uint32_t n, uint32_t x, uint32_t y) {

static uint32_t FloatToUint32(float f)
{
if (isnan(f)) {
if (std::isnan(f)) {
return 0xFFFFFFFF;
}
uint32_t res;
Expand Down

0 comments on commit e4a72cd

Please sign in to comment.