Commit a8fd4934 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Typo in assignment of vector quantity.

parent 5503d271
......@@ -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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment