summaryrefslogtreecommitdiff
path: root/test/c
diff options
context:
space:
mode:
Diffstat (limited to 'test/c')
-rw-r--r--test/c/spectral.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/c/spectral.c b/test/c/spectral.c
index 68579d9..29499fd 100644
--- a/test/c/spectral.c
+++ b/test/c/spectral.c
@@ -10,7 +10,7 @@
#include <stdlib.h>
#include <math.h>
-double eval_A(int i, int j) { return 1.0/((i+j)*(i+j+1)/2+i+1); }
+inline double eval_A(int i, int j) { return 1.0/((i+j)*(i+j+1)/2+i+1); }
void eval_A_times_u(int N, const double u[], double Au[])
{