Commit 59b197ae authored by James Willis's avatar James Willis
Browse files

Pad properties with sensible values to prevent floating point exceptions.

parent e828d7bc
......@@ -700,6 +700,8 @@ __attribute__((always_inline)) INLINE void runner_doself2_force_vec(
cell_cache->y[i] = piy.f[0];
cell_cache->z[i] = piz.f[0];
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