summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/astra/CompositeGeometryManager.h2
-rw-r--r--python/astra/experimental.pyx4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/astra/CompositeGeometryManager.h b/include/astra/CompositeGeometryManager.h
index bb57277..c07c981 100644
--- a/include/astra/CompositeGeometryManager.h
+++ b/include/astra/CompositeGeometryManager.h
@@ -141,7 +141,7 @@ public:
JOB_FP, JOB_BP, JOB_FDK, JOB_NOP
} eType;
enum EMode {
- MODE_ADD, MODE_SET
+ MODE_ADD = 0, MODE_SET = 1
} eMode;
};
diff --git a/python/astra/experimental.pyx b/python/astra/experimental.pyx
index b1e3567..8f8e47d 100644
--- a/python/astra/experimental.pyx
+++ b/python/astra/experimental.pyx
@@ -36,8 +36,8 @@ IF HAVE_CUDA==True:
cdef extern from "astra/CompositeGeometryManager.h" namespace "astra::CCompositeGeometryManager::SJob":
cdef enum EMode:
- MODE_SET = 0
- MODE_ADD = 1
+ MODE_ADD = 0
+ MODE_SET = 1
cdef extern from "astra/CompositeGeometryManager.h" namespace "astra":
cdef cppclass CCompositeGeometryManager:
bool doFP(CProjector3D *, vector[CFloat32VolumeData3D *], vector[CFloat32ProjectionData3D *], EMode)