Changeset 1346 for trunk/Clp


Ignore:
Timestamp:
Mar 16, 2009 11:31:01 AM (11 years ago)
Author:
forrest
Message:

sqrt to double

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpSimplex.cpp

    r1344 r1346  
    51805180      }
    51815181      checkSolutionInternal();
    5182       if (sumPrimalInfeasibilities_*sqrt(numberRows_)<1.0) {
     5182      if (sumPrimalInfeasibilities_*sqrt(static_cast<double>(numberRows_))<1.0) {
    51835183        // Could do better if can decompose
    51845184        // correction to get feasible
     
    55645564#include "ClpCholeskyWssmp.hpp"
    55655565#include "ClpCholeskyWssmpKKT.hpp"
    5566 #elif UFL_BARRIER
     5566#endif
     5567#if UFL_BARRIER
    55675568#include "ClpCholeskyUfl.hpp"
    5568 #elif MUMPS_BARRIER
     5569#endif
     5570#if MUMPS_BARRIER
    55695571#include "ClpCholeskyMumps.hpp"
    5570 #elif TAUCS_BARRIER
     5572#endif
     5573#if TAUCS_BARRIER
    55715574#include "ClpCholeskyTaucs.hpp"
    55725575#endif
Note: See TracChangeset for help on using the changeset viewer.