Skip to content
Snippets Groups Projects
Commit 98001b60 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Fix signed/unsigned warning

[[Imported from SVN: r9476]]
parent 18987814
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ void TargetSpaceRiemannianTRSolver<TargetSpace>::solve()
// /////////////////////////////////////////////////////
// Trust-Region Solver
// /////////////////////////////////////////////////////
for (int i=0; i<maxTrustRegionSteps_; i++) {
for (size_t i=0; i<maxTrustRegionSteps_; i++) {
if (this->verbosity_ == Solver::FULL) {
std::cout << "----------------------------------------------------" << std::endl;
......
......@@ -61,7 +61,7 @@ protected:
double initialTrustRegionRadius_;
/** \brief Maximum number of trust-region steps */
int maxTrustRegionSteps_;
size_t maxTrustRegionSteps_;
/** \brief Maximum number of multigrid iterations */
int innerIterations_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment