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
5ff84736
Commit
5ff84736
authored
Apr 28, 2017
by
James Willis
Browse files
Missing semi-colons I noticed when running on Skylake.
parent
fc527884
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hydro/Gadget2/hydro_iact.h
View file @
5ff84736
...
...
@@ -151,7 +151,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_vec_density(
for
(
k
=
0
;
k
<
3
;
k
++
)
dx
[
k
].
v
=
vec_set
(
Dx
[
0
+
k
],
Dx
[
3
+
k
],
Dx
[
6
+
k
],
Dx
[
9
+
k
]);
#else
error
(
"Unknown vector size."
)
error
(
"Unknown vector size."
)
;
#endif
/* Get the radius and inverse radius. */
...
...
@@ -318,7 +318,7 @@ runner_iact_nonsym_vec_density(float *R2, float *Dx, float *Hi, float *Hj,
for
(
k
=
0
;
k
<
3
;
k
++
)
dx
[
k
].
v
=
vec_set
(
Dx
[
0
+
k
],
Dx
[
3
+
k
],
Dx
[
6
+
k
],
Dx
[
9
+
k
]);
#else
error
(
"Unknown vector size."
)
error
(
"Unknown vector size."
)
;
#endif
/* Get the radius and inverse radius. */
...
...
@@ -845,7 +845,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_vec_force(
vec_set
(
pj
[
0
]
->
force
.
balsara
,
pj
[
1
]
->
force
.
balsara
,
pj
[
2
]
->
force
.
balsara
,
pj
[
3
]
->
force
.
balsara
);
#else
error
(
"Unknown vector size."
)
error
(
"Unknown vector size."
)
;
#endif
/* Get the radius and inverse radius. */
...
...
@@ -1124,7 +1124,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_vec_force(
vec_set
(
pj
[
0
]
->
force
.
balsara
,
pj
[
1
]
->
force
.
balsara
,
pj
[
2
]
->
force
.
balsara
,
pj
[
3
]
->
force
.
balsara
);
#else
error
(
"Unknown vector size."
)
error
(
"Unknown vector size."
)
;
#endif
/* Get the radius and inverse radius. */
...
...
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