Skip to content

Commit fd2f79f

Browse files
authored
Merge pull request #26 from rhysgt/rhys-fix
Fix bug
2 parents 1cc38c5 + f5b5dd8 commit fd2f79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openpiv/gpu/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def gpu_scalar_mod(f, m):
365365
if (t_idx >= size) {return;}
366366
367367
// Check for NaNs.
368-
if (std::isnan(f[t_idx])) {f[t_idx] = 0.0f;}
368+
if (isnan(f[t_idx])) {f[t_idx] = 0.0f;}
369369
}
370370
"""
371371
)

0 commit comments

Comments
 (0)