From cab381b6b9df7ce06e9b98c47a6da94c93d6b41a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 7 May 2021 16:38:48 +0530 Subject: Declare polynomial_integrand_params member as const. * include/integrands.h (polynomial_integrand_params): Declare coefficients member as const. --- include/integrands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 typedef struct { - double *coefficients; + const double *coefficients; int degree; } polynomial_integrand_params; -- cgit v1.2.3