Changeset 1460 for stable


Ignore:
Timestamp:
Nov 6, 2009 12:34:01 PM (10 years ago)
Author:
forrest
Message:

minor fix to Idiot code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.11/Clp/src/Idiot.cpp

    r1458 r1460  
    648648#ifndef OSI_IDIOT
    649649  if ((strategy_&32)!=0&&!allOnes) {
    650     if (model_->scalingFlag()>0)
     650    if (model_->scalingFlag()>0) {
     651      // May not be synchronized
     652      int flag = model_->scalingFlag();
     653      model_->scaling(0);
     654      model_->scaling(flag);
    651655      scaled = model_->clpMatrix()->scale(model_)==0;
     656    }
    652657    if (scaled) {
    653658      const double * rowScale = model_->rowScale();
Note: See TracChangeset for help on using the changeset viewer.