aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArun Isaac2021-05-07 16:38:48 +0530
committerArun Isaac2021-05-07 16:38:48 +0530
commitcab381b6b9df7ce06e9b98c47a6da94c93d6b41a (patch)
tree0a992c105368b2fe273eff3cc7892d0bd5a34970 /include
parenta08d432edd52ddd28c5afd806b59cf28aee63ef9 (diff)
downloadnsmc-cab381b6b9df7ce06e9b98c47a6da94c93d6b41a.tar.gz
nsmc-cab381b6b9df7ce06e9b98c47a6da94c93d6b41a.tar.lz
nsmc-cab381b6b9df7ce06e9b98c47a6da94c93d6b41a.zip
Declare polynomial_integrand_params member as const.
* include/integrands.h (polynomial_integrand_params): Declare coefficients member as const.
Diffstat (limited to 'include')
-rw-r--r--include/integrands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/integrands.h b/include/integrands.h
index 5f2adc0..fd259a4 100644
--- a/include/integrands.h
+++ b/include/integrands.h
@@ -25,7 +25,7 @@
#include <gsl/gsl_vector.h>
typedef struct {
- double *coefficients;
+ const double *coefficients;
int degree;
} polynomial_integrand_params;