Fixed warning

release/4.3a0
Richard Roberts 2012-03-21 15:12:30 +00:00
parent e3016baf1b
commit 6ffbc185bf
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ typename DoglegOptimizerImpl::IterationResult DoglegOptimizerImpl::Iterate(
IterationResult result;
bool stay = true;
enum { NONE, INCREASED_DELTA, DECREASED_DELTA } lastAction; // Used to prevent alternating between increasing and decreasing in one iteration
enum { NONE, INCREASED_DELTA, DECREASED_DELTA } lastAction = 0; // Used to prevent alternating between increasing and decreasing in one iteration
while(stay) {
tic(3, "Dog leg point");
// Compute dog leg point