Skip to content

Commit

Permalink
Fix bug in Cyclic_Permute_Twice
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaddy committed Feb 12, 2024
1 parent 9ceac1b commit c3b7525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/math_utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ inline __device__ __host__ void Cyclic_Permute_Once(hydro_utilities::Vector &vec
inline __device__ __host__ void Cyclic_Permute_Twice(hydro_utilities::Vector &vec)
{
Real temp = vec.y;
vec.x = vec.z;
vec.y = vec.x;
vec.x = vec.z;
vec.z = temp;
}
// =====================================================================================================================
Expand Down

0 comments on commit c3b7525

Please sign in to comment.