summaryrefslogtreecommitdiffstats
path: root/src/CudaSartAlgorithm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CudaSartAlgorithm.cpp')
-rw-r--r--src/CudaSartAlgorithm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CudaSartAlgorithm.cpp b/src/CudaSartAlgorithm.cpp
index 645b40c..a768db9 100644
--- a/src/CudaSartAlgorithm.cpp
+++ b/src/CudaSartAlgorithm.cpp
@@ -98,7 +98,7 @@ bool CCudaSartAlgorithm::initialize(const Config& _cfg)
} else if (projOrder == "custom") {
vector<float32> projOrderList = _cfg.self.getOptionNumericalArray("ProjectionOrderList");
projectionOrder = new int[projOrderList.size()];
- for (int i = 0; i < projOrderList.size(); i++) {
+ for (unsigned int i = 0; i < projOrderList.size(); i++) {
projectionOrder[i] = static_cast<int>(projOrderList[i]);
}
sart->setProjectionOrder(projectionOrder, projectionCount);