summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-10-23 13:57:03 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-10-23 13:57:03 +0200
commit42b5e731a9ac6c3aa4751cee2c09758d58d18427 (patch)
treedaf11e9016d540f9d996fbcd1ba63bb2d485361c
parent71d27819b1b046109b5c70e3bd112f436e96a545 (diff)
downloadastra-42b5e731a9ac6c3aa4751cee2c09758d58d18427.tar.gz
astra-42b5e731a9ac6c3aa4751cee2c09758d58d18427.tar.bz2
astra-42b5e731a9ac6c3aa4751cee2c09758d58d18427.tar.xz
astra-42b5e731a9ac6c3aa4751cee2c09758d58d18427.zip
Fix usage of cython except
-rw-r--r--python/astra/experimental.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/astra/experimental.pyx b/python/astra/experimental.pyx
index 0af3118..136165b 100644
--- a/python/astra/experimental.pyx
+++ b/python/astra/experimental.pyx
@@ -40,8 +40,8 @@ IF HAVE_CUDA==True:
bool doBP(CProjector3D *, vector[CFloat32VolumeData3D *], vector[CFloat32ProjectionData3D *])
cdef extern from *:
- CFloat32VolumeData3D * dynamic_cast_vol_mem "dynamic_cast<astra::CFloat32VolumeData3D*>" (CFloat32Data3D * ) except NULL
- CFloat32ProjectionData3D * dynamic_cast_proj_mem "dynamic_cast<astra::CFloat32ProjectionData3D*>" (CFloat32Data3D * ) except NULL
+ CFloat32VolumeData3D * dynamic_cast_vol_mem "dynamic_cast<astra::CFloat32VolumeData3D*>" (CFloat32Data3D * )
+ CFloat32ProjectionData3D * dynamic_cast_proj_mem "dynamic_cast<astra::CFloat32ProjectionData3D*>" (CFloat32Data3D * )
cdef extern from "astra/Float32ProjectionData3D.h" namespace "astra":
cdef cppclass CFloat32ProjectionData3D: