Skip to content
Snippets Groups Projects
Commit f034a28e authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Keep compilers happy when compiling with vectorisation

parent 0be718b7
No related branches found
No related tags found
No related merge requests found
......@@ -238,6 +238,9 @@ void test_interactions(struct part test_part, struct part *parts, size_t count,
float dx[3 * count] __attribute__((aligned(array_align)));
struct part *piq[count], *pjq[count];
for (int k = 0; k < count; k++) {
piq[k] = NULL; pjq[k] = NULL;
}
#ifdef WITH_VECTORIZATION
float r2q[count] __attribute__((aligned(array_align)));
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment