summaryrefslogtreecommitdiffstats
path: root/src/CudaSartAlgorithm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CudaSartAlgorithm.cpp')
-rw-r--r--src/CudaSartAlgorithm.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/CudaSartAlgorithm.cpp b/src/CudaSartAlgorithm.cpp
index bf97224..a768db9 100644
--- a/src/CudaSartAlgorithm.cpp
+++ b/src/CudaSartAlgorithm.cpp
@@ -1,10 +1,10 @@
/*
-----------------------------------------------------------------------
-Copyright: 2010-2015, iMinds-Vision Lab, University of Antwerp
- 2014-2015, CWI, Amsterdam
+Copyright: 2010-2016, iMinds-Vision Lab, University of Antwerp
+ 2014-2016, CWI, Amsterdam
Contact: astra@uantwerpen.be
-Website: http://sf.net/projects/astra-toolbox
+Website: http://www.astra-toolbox.com/
This file is part of the ASTRA Toolbox.
@@ -23,7 +23,6 @@ You should have received a copy of the GNU General Public License
along with the ASTRA Toolbox. If not, see <http://www.gnu.org/licenses/>.
-----------------------------------------------------------------------
-$Id$
*/
#ifdef ASTRA_CUDA
@@ -99,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);