Skip to content

Commit

Permalink
Prevent iterator from incrementing after basic variable found (#54)
Browse files Browse the repository at this point in the history
* Reading TF SavedModels

* Bug fix: getNewVariable already increments numVars

* Small bug fix

* Make style consistent
  • Loading branch information
kjulian3 authored and guykatzz committed May 26, 2018
1 parent 606fa7a commit 816f33b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/engine/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,10 @@ void Engine::fixViolatedPlConstraintIfPossible()
found = true;
}
}

++it;
if ( !found )
{
++it;
}
}

// If we couldn't find an eligible fix, give up
Expand Down

0 comments on commit 816f33b

Please sign in to comment.