diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/sundials/src/Numeric/Sundials/ARKode/ODE.hs | 1 | ||||
-rw-r--r-- | packages/sundials/src/helpers.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/packages/sundials/src/Numeric/Sundials/ARKode/ODE.hs b/packages/sundials/src/Numeric/Sundials/ARKode/ODE.hs index b621c58..a5083e3 100644 --- a/packages/sundials/src/Numeric/Sundials/ARKode/ODE.hs +++ b/packages/sundials/src/Numeric/Sundials/ARKode/ODE.hs | |||
@@ -75,6 +75,7 @@ C.include "<arkode/arkode_direct.h>" -- access to ARKDls interface | |||
75 | C.include "<sundials/sundials_types.h>" -- definition of type realtype | 75 | C.include "<sundials/sundials_types.h>" -- definition of type realtype |
76 | C.include "<sundials/sundials_math.h>" | 76 | C.include "<sundials/sundials_math.h>" |
77 | C.include "../../../helpers.h" | 77 | C.include "../../../helpers.h" |
78 | C.include "Bar_hsc.h" | ||
78 | 79 | ||
79 | 80 | ||
80 | getDataFromContents :: Storable b => Int -> Ptr a -> IO (V.Vector b) | 81 | getDataFromContents :: Storable b => Int -> Ptr a -> IO (V.Vector b) |
diff --git a/packages/sundials/src/helpers.h b/packages/sundials/src/helpers.h index 464ba0b..3d8fbc0 100644 --- a/packages/sundials/src/helpers.h +++ b/packages/sundials/src/helpers.h | |||
@@ -1,5 +1,3 @@ | |||
1 | typedef struct _generic_N_Vector SunVector; | ||
2 | |||
3 | /* Check function return value... | 1 | /* Check function return value... |
4 | opt == 0 means SUNDIALS function allocates memory so check if | 2 | opt == 0 means SUNDIALS function allocates memory so check if |
5 | returned NULL pointer | 3 | returned NULL pointer |