Skip to content
Snippets Groups Projects
Commit a8fd4934 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Typo in assignment of vector quantity.

parent 5503d271
No related branches found
No related tags found
1 merge request!216Hydrodynamics in 2D + New test cases
......@@ -157,7 +157,7 @@ __attribute__((always_inline)) INLINE static vector pow_dimension_plus_one_vec(
#if defined(HYDRO_DIMENSION_3D)
const vector x2 = x.v * x.v;
const vector x2 = (vector) (x.v * x.v);
return (vector)(x2.v * x2.v);
#elif defined(HYDRO_DIMENSION_2D)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment