Skip to content
Snippets Groups Projects
Commit 364afb97 authored by James Willis's avatar James Willis
Browse files

Pad properties with sensible values to prevent floating point exceptions.

parent 53f5f02a
No related branches found
No related tags found
1 merge request!415Pad properties with sensible values to prevent floating point exceptions.
......@@ -703,6 +703,8 @@ __attribute__((always_inline)) INLINE void runner_doself2_force_vec(
cell_cache->rho[i] = 1.f;
cell_cache->grad_h[i] = 1.f;
cell_cache->pOrho2[i] = 1.f;
cell_cache->balsara[i] = 1.f;
cell_cache->soundspeed[i] = 1.f;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment