Skip to content

Commit

Permalink
Updates for compatibility with sundials 7
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelClerx committed May 9, 2024
1 parent a65d882 commit 1c3f88e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion myokit/_sim/cvodessim.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ import myokit
#if SUNDIALS_VERSION_MAJOR >= 3
#include <sunmatrix/sunmatrix_dense.h>
#include <sunlinsol/sunlinsol_dense.h>
#include <cvodes/cvodes_direct.h>
#if SUNDIALS_VERSION_MAJOR < 6
#include <cvodes/cvodes_direct.h>
#endif
#else
#include <cvodes/cvodes_dense.h>
#endif
Expand Down

0 comments on commit 1c3f88e

Please sign in to comment.