cellml / libcellml

Repository for libCellML development.
https://libcellml.org
Apache License 2.0
17 stars 21 forks source link

Generator: use `size_t` rather than `int` in `nlaSolve()` #1201

Closed agarny closed 1 year ago

agarny commented 1 year ago

The external nlaSolve() method currently has the following signature:

extern void nlaSolve(void (*objectiveFunction)(double *, double *, void *),
                     double *u, int n, void *data);

However, rather than using int, we really ought to use size_t as we already do in createVariablesArray() for instance.