Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
364afb97
Commit
364afb97
authored
Sep 01, 2017
by
James Willis
Browse files
Pad properties with sensible values to prevent floating point exceptions.
parent
53f5f02a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact_vec.c
View file @
364afb97
...
...
@@ -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
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment