From 53f5f02a81a1e06ca87e9ce4cc0c5a9999351f63 Mon Sep 17 00:00:00 2001 From: James Willis <james.s.willis@durham.ac.uk> Date: Fri, 1 Sep 2017 14:01:33 +0100 Subject: [PATCH] Pad properties with sensible values to prevent floating point exceptions. --- src/runner_doiact_vec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runner_doiact_vec.c b/src/runner_doiact_vec.c index fd585e331d..dd0baefcfa 100644 --- a/src/runner_doiact_vec.c +++ b/src/runner_doiact_vec.c @@ -702,6 +702,7 @@ __attribute__((always_inline)) INLINE void runner_doself2_force_vec( cell_cache->h[i] = 1.f; cell_cache->rho[i] = 1.f; cell_cache->grad_h[i] = 1.f; + cell_cache->pOrho2[i] = 1.f; } } -- GitLab