From da6889fcec7cc0772f351752f37eb42380da6630 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 11 Jan 2023 16:36:29 +0100 Subject: {ps,nl}solve: constify exported colloc grid Reduces compiler warnings. --- pssolve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pssolve.h') 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 -- cgit v1.2.3