diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-10-23 13:57:03 +0200 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-10-23 13:57:03 +0200 |
commit | 42b5e731a9ac6c3aa4751cee2c09758d58d18427 (patch) | |
tree | daf11e9016d540f9d996fbcd1ba63bb2d485361c /python | |
parent | 71d27819b1b046109b5c70e3bd112f436e96a545 (diff) | |
download | astra-42b5e731a9ac6c3aa4751cee2c09758d58d18427.tar.gz astra-42b5e731a9ac6c3aa4751cee2c09758d58d18427.tar.bz2 astra-42b5e731a9ac6c3aa4751cee2c09758d58d18427.tar.xz astra-42b5e731a9ac6c3aa4751cee2c09758d58d18427.zip |
Fix usage of cython except
Diffstat (limited to 'python')
-rw-r--r-- | python/astra/experimental.pyx | 4 |
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: |