Skip to content

Commit

Permalink
explicit sycl::fmod instead of fmod
Browse files Browse the repository at this point in the history
  • Loading branch information
will-saunders-ukaea committed Sep 19, 2024
1 parent db80bc0 commit 8410337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/neso_particles/boundary_conditions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class CartesianPeriodic {
const REAL tmp_extent = k_extents[dimx];
const REAL n_extent_offset_real = n_extent_offset_int + 2;
const REAL pos_fmod =
fmod(pos + n_extent_offset_real * tmp_extent, tmp_extent);
sycl::fmod(pos + n_extent_offset_real * tmp_extent, tmp_extent);
P[dimx] = pos_fmod;
}
},
Expand Down

0 comments on commit 8410337

Please sign in to comment.