aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-02-05 14:57:22 +0530
committerArun Isaac2021-02-05 14:57:22 +0530
commit7352aa8150d0012d10be7b1aaa341be7c459a05a (patch)
treed514be2e233bfd0e92835e0f5fd81e3d433ff0d0
parent32fbf04576ec9e92d6901cb35b1c33a0510e693d (diff)
downloadnsmc-7352aa8150d0012d10be7b1aaa341be7c459a05a.tar.gz
nsmc-7352aa8150d0012d10be7b1aaa341be7c459a05a.tar.lz
nsmc-7352aa8150d0012d10be7b1aaa341be7c459a05a.zip
Declare infinity_norm as static.
* src/oracles.c (infinity_norm): Declare as static.
-rw-r--r--src/oracles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oracles.c b/src/oracles.c
index 9f6577f..2b440eb 100644
--- a/src/oracles.c
+++ b/src/oracles.c
@@ -43,7 +43,7 @@ double beta_true_volume (double alpha, double beta, unsigned int dimension)
return vol;
}
-double infinity_norm (const gsl_vector* x)
+static double infinity_norm (const gsl_vector* x)
{
double max = fabs(gsl_vector_get(x, 0));
for (int i=1; i<x->size; i++)