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
9dff8f4c
Commit
9dff8f4c
authored
Aug 11, 2016
by
Matthieu Schaller
Browse files
Code formatting
parent
abce7331
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kernel_hydro.h
View file @
9dff8f4c
...
...
@@ -252,7 +252,7 @@ __attribute__((always_inline)) INLINE static void kernel_deval(
//#if kernel_ivals == 1
///* Only one branch in this case */
//const float *const coeffs = &kernel_coeffs[0];
//
const float *const coeffs = &kernel_coeffs[0];
//#else
/* Pick the correct branch of the kernel */
const
int
temp
=
(
int
)(
x
*
kernel_ivals_f
);
...
...
@@ -290,7 +290,7 @@ __attribute__((always_inline)) INLINE static void kernel_eval(
//#if kernel_ivals == 1
///* Only one branch in this case */
//const float *const coeffs = &kernel_coeffs[0];
//
const float *const coeffs = &kernel_coeffs[0];
//#else
/* Pick the correct branch of the kernel */
const
int
temp
=
(
int
)(
x
*
kernel_ivals_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