Changeset 2243


Ignore:
Timestamp:
Jan 6, 2017 6:48:48 AM (13 months ago)
Author:
forrest
Message:

I hope 2017 gets better for stupid mistakes

Location:
trunk/Clp/src
Files:
2 edited

Legend:

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

    r2233 r2243  
    3030// Default Constructor
    3131//-------------------------------------------------------------------
    32 ClpCholeskyMumps::ClpCholeskyMumps (int denseThreshold)
     32ClpCholeskyMumps::ClpCholeskyMumps (int denseThreshold,int logLevel)
    3333     : ClpCholeskyBase(denseThreshold)
    3434{
     
    6060     mumps_->ICNTL(24) = 1; // Deal with zeros on diagonal
    6161     mumps_->CNTL(3) = 1.0e-20; // drop if diagonal less than this
    62      // output off
    63      mumps_->ICNTL(1) = -1;
    64      mumps_->ICNTL(2) = -1;
    65      mumps_->ICNTL(3) = -1;
    66      mumps_->ICNTL(4) = 0;
     62     if (!logLevel) {
     63       // output off
     64       mumps_->ICNTL(1) = -1;
     65       mumps_->ICNTL(2) = -1;
     66       mumps_->ICNTL(3) = -1;
     67       mumps_->ICNTL(4) = 0;
     68     }
    6769}
    6870
  • trunk/Clp/src/ClpCholeskyMumps.hpp

    r1692 r2243  
    4444     /** Constructor which has dense columns activated.
    4545         Default is off. */
    46      ClpCholeskyMumps(int denseThreshold = -1);
     46     ClpCholeskyMumps(int denseThreshold = -1,int logLevel=0);
    4747     /** Destructor  */
    4848     virtual ~ClpCholeskyMumps();
Note: See TracChangeset for help on using the changeset viewer.