biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0fb45b
)
NPY_INT should be used instead of NPY_LONG
author
Alexey Shvetsov
<alexxy@omrb.pnpi.spb.ru>
Tue, 3 Feb 2015 13:21:07 +0000
(16:21 +0300)
committer
Alexey Shvetsov
<alexxy@omrb.pnpi.spb.ru>
Tue, 3 Feb 2015 13:21:07 +0000
(16:21 +0300)
Change-Id: I0b156160bd664a51a438f74635a262322b09b629
Signed-off-by: Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru>
src/python/include/numpy_conv.h
patch
|
blob
|
history
diff --git
a/src/python/include/numpy_conv.h
b/src/python/include/numpy_conv.h
index 843d92e4db8fac788d71e09ae912a1260cb6a94f..b810832b051c99676de5f0c7308b31b538db651f 100644
(file)
--- a/
src/python/include/numpy_conv.h
+++ b/
src/python/include/numpy_conv.h
@@
-59,6
+59,6
@@
PyObject* array1dToNumpy(int dim, const void *data) {
PyObject* iarray1dToNumpy(int dim, const int *data) {
npy_intp n_dim = dim;
- return PyArray_SimpleNewFromData(1, &n_dim, NPY_
LONG
, (int*) data);
+ return PyArray_SimpleNewFromData(1, &n_dim, NPY_
INT
, (int*) data);
}
#endif