summaryrefslogtreecommitdiff
path: root/packages/sundials
diff options
context:
space:
mode:
authorDominic Steinitz <dominic@steinitz.org>2018-03-30 09:55:08 +0100
committerDominic Steinitz <dominic@steinitz.org>2018-03-30 09:55:08 +0100
commit94d26eb8ef7cf236127e9e51bb3c46348c4c6cfc (patch)
tree23b17f2b8927f79951f8fa82ce9bdfb0e251c21a /packages/sundials
parent369b1f77a3fff84f1443f8adaac50f1813e8c15e (diff)
Move definition to correct place
Diffstat (limited to 'packages/sundials')
-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