Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Sep 23, 2024
1 parent 6287696 commit 138ba8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rfuns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ void isna_double_loop(idx_t count, const double* data, bool* result_data, Validi
idx_t next = MinValue<idx_t>(base_idx + ValidityMask::BITS_PER_VALUE, count);

if (ValidityMask::AllValid(validity_entry)) {
// all valid: check with isnan()
// all valid: check with std::isnan()
for (; base_idx < next; base_idx++) {
result_data[base_idx] = std::isnan(data[base_idx]);
}
Expand Down Expand Up @@ -329,7 +329,7 @@ void isna_any_loop(idx_t count, bool* result_data, ValidityMask mask) {
idx_t next = MinValue<idx_t>(base_idx + ValidityMask::BITS_PER_VALUE, count);

if (ValidityMask::AllValid(validity_entry)) {
// all valid: check with isnan()
// all valid: check with std::isnan()
for (; base_idx < next; base_idx++) {
result_data[base_idx] = false;
}
Expand Down

0 comments on commit 138ba8c

Please sign in to comment.