Commit 33bbf9ff authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'doself2-vectorisation' into 'master'

Pad properties with sensible values to prevent floating point exceptions.



See merge request !414
parents 8e52a008 59b197ae
...@@ -700,6 +700,8 @@ __attribute__((always_inline)) INLINE void runner_doself2_force_vec( ...@@ -700,6 +700,8 @@ __attribute__((always_inline)) INLINE void runner_doself2_force_vec(
cell_cache->y[i] = piy.f[0]; cell_cache->y[i] = piy.f[0];
cell_cache->z[i] = piz.f[0]; cell_cache->z[i] = piz.f[0];
cell_cache->h[i] = 1.f; cell_cache->h[i] = 1.f;
cell_cache->rho[i] = 1.f;
cell_cache->grad_h[i] = 1.f;
} }
} }
......
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