Skip to content

Commit

Permalink
Fix degenerate pivots logging (#31)
Browse files Browse the repository at this point in the history
* try to fix degenerate pivots logging

* back to default degeneracy check

* woops
  • Loading branch information
ibeling authored and guykatzz committed May 8, 2018
1 parent f18b343 commit bc37160
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/engine/Tableau.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ void Tableau::performPivot()
log( Stringf( "Change ratio is: %.15lf\n", _changeRatio ) );

updateAssignmentForPivot();

updateCostFunctionForPivot();

// Update the database
Expand Down Expand Up @@ -654,6 +655,7 @@ void Tableau::performDegeneratePivot()
{
if ( _statistics )
{
_statistics->incNumTableauPivots();
_statistics->incNumTableauDegeneratePivots();
_statistics->incNumTableauDegeneratePivotsByRequest();
}
Expand Down

0 comments on commit bc37160

Please sign in to comment.