Commit f034a28e authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Keep compilers happy when compiling with vectorisation

parent 0be718b7
......@@ -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)));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment