summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/sundials/src/Numeric/Sundials/ARKode/ODE.hs1
-rw-r--r--packages/sundials/src/helpers.h2
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
75C.include "<sundials/sundials_types.h>" -- definition of type realtype 75C.include "<sundials/sundials_types.h>" -- definition of type realtype
76C.include "<sundials/sundials_math.h>" 76C.include "<sundials/sundials_math.h>"
77C.include "../../../helpers.h" 77C.include "../../../helpers.h"
78C.include "Bar_hsc.h"
78 79
79 80
80getDataFromContents :: Storable b => Int -> Ptr a -> IO (V.Vector b) 81getDataFromContents :: 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 @@
1typedef 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