Skip to content

Commit

Permalink
Bf opt (#66)
Browse files Browse the repository at this point in the history
* a more efficient way for inverting the basis

* a corner-case that was slowing down some of the regression tests
  • Loading branch information
guykatzz authored Jun 13, 2018
1 parent a7906a4 commit c544628
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/basis_factorization/LUFactors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ void LUFactors::invertBasis( double *result )
{
ASSERT( result );

// Corner case - empty Tableau
if ( _m == 0 )
return;

/*
A = F * V = P * L * U * Q
Expand Down

0 comments on commit c544628

Please sign in to comment.