Ignore:
Timestamp:
Nov 2, 2011 11:25:47 AM (8 years ago)
Author:
mjs
Message:

Eclipse code analyzer recommendations: (a) catch exceptions by reference; (b) parenthesize multi-term Boolean expressions; (c) virtual methods need virtual dtors (and Eclipse likes to see the keyword); (d) operator=() should return *this (and check for self-assignment).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ClpForOsi2/Clp/src/ClpDualRowSteepest.cpp

    r1732 r1816  
    4242     persistence_ = rhs.persistence_;
    4343     model_ = rhs.model_;
    44      if ((model_ && model_->whatsChanged() & 1) != 0) {
     44     if ((model_ && (model_->whatsChanged() & 1)) != 0) {
    4545          int number = model_->numberRows();
    4646          if (rhs.savedWeights_)
Note: See TracChangeset for help on using the changeset viewer.