Changeset 2117


Ignore:
Timestamp:
Feb 10, 2015 11:27:05 AM (4 years ago)
Author:
forrest
Message:

fix uninitialized

Location:
trunk/Clp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src

  • trunk/Clp/src/ClpFactorization.cpp

    r2078 r2117  
    11491149     goDenseThreshold_ = -1;
    11501150     goSmallThreshold_ = -1;
     1151     memset(&shortestAverage_,0,3*(sizeof(double)+sizeof(int)));
    11511152}
    11521153
     
    12261227     factorization_instrument(1);
    12271228#endif
     1229     memcpy(&shortestAverage_,&rhs.shortestAverage_,3*(sizeof(double)+sizeof(int)));
    12281230}
    12291231
     
    12461248     goSmallThreshold_ = -1;
    12471249     assert (!coinFactorizationA_ || !coinFactorizationB_);
     1250     memset(&shortestAverage_,0,3*(sizeof(double)+sizeof(int)));
    12481251}
    12491252
     
    12671270#endif
    12681271     assert (!coinFactorizationA_ || !coinFactorizationB_);
     1272     memset(&shortestAverage_,0,3*(sizeof(double)+sizeof(int)));
    12691273}
    12701274
     
    13051309          goDenseThreshold_ = rhs.goDenseThreshold_;
    13061310          goSmallThreshold_ = rhs.goSmallThreshold_;
     1311          memcpy(&shortestAverage_,&rhs.shortestAverage_,3*(sizeof(double)+sizeof(int)));
    13071312          if (rhs.coinFactorizationA_) {
    13081313               if (coinFactorizationA_)
Note: See TracChangeset for help on using the changeset viewer.