aboutsummaryrefslogtreecommitdiff
path: root/pssolve.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-01-11 16:36:29 +0100
committerAnton Khirnov <anton@khirnov.net>2023-01-11 16:38:57 +0100
commitda6889fcec7cc0772f351752f37eb42380da6630 (patch)
tree246cd7bc9d911e5f132907de53f73d5b1d2dc42a /pssolve.h
parent66eb0f74a2811b53eac353b07873718798985e98 (diff)
{ps,nl}solve: constify exported colloc grid
Reduces compiler warnings.
Diffstat (limited to 'pssolve.h')
-rw-r--r--pssolve.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pssolve.h b/pssolve.h
index b350a1a..15ee313 100644
--- a/pssolve.h
+++ b/pssolve.h
@@ -116,7 +116,7 @@ typedef struct PSSolveContext {
*
* Set by the solver after tdi_pssolve_context_init().
*/
- double *(*colloc_grid)[2];
+ const double * const (*colloc_grid)[2];
/**
* The thread pool used for multithreaded execution. May be set by the