diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2016-11-28 17:05:09 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2016-11-28 17:05:09 +0100 |
commit | 7300a49309f13aee9d21e39bf0e2638a461b21fc (patch) | |
tree | 607103ce3bd9e23226f22b9be68ed931f22e9a6f /src/CudaSartAlgorithm.cpp | |
parent | fe1fca9f80e77e280240f8773027bbcaf1590abb (diff) | |
download | astra-7300a49309f13aee9d21e39bf0e2638a461b21fc.tar.gz astra-7300a49309f13aee9d21e39bf0e2638a461b21fc.tar.bz2 astra-7300a49309f13aee9d21e39bf0e2638a461b21fc.tar.xz astra-7300a49309f13aee9d21e39bf0e2638a461b21fc.zip |
Fix warnings
Diffstat (limited to 'src/CudaSartAlgorithm.cpp')
-rw-r--r-- | src/CudaSartAlgorithm.cpp | 2 |
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); |