Changeset 2444


Ignore:
Timestamp:
Apr 5, 2019 12:11:24 PM (7 weeks ago)
Author:
forrest
Message:

added assert in case #86 exists

File:
1 edited

Legend:

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

    r2405 r2444  
    31693169  if (mode == 6) {
    31703170    // If incoming weight is 1.0 then return else as 5
    3171     assert(weights_);
    31723171    int sequenceIn = model_->sequenceIn();
    31733172    assert(sequenceIn >= 0 && sequenceIn < model_->numberRows() + model_->numberColumns());
    3174     if (weights_[sequenceIn] == (mode_ != 1) ? 1.0 : 1.0 + ADD_ONE)
     3173    // possible weights_ was never set up // assert(weights_);
     3174    if (weights_ && weights_[sequenceIn] == (mode_ != 1) ? 1.0 : 1.0 + ADD_ONE)
    31753175      return;
    31763176    else
     
    43154315      int iSequence;
    43164316      for (iSequence = start; iSequence < end; iSequence++) {
     4317        assert (iSequence>=numberColumns);
    43174318        if (iSequence != sequenceOut) {
    43184319          double value;
Note: See TracChangeset for help on using the changeset viewer.