Changeset 529


Ignore:
Timestamp:
May 4, 2007 12:35:02 PM (12 years ago)
Author:
ladanyi
Message:

return false by default in eval_upper_bound_f so that the compiler doesn't complain about a non-void function returning nothing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Bonmin/src/Interfaces/BonTMINLP.hpp

    r514 r529  
    347347      upper bounding (to use it hasUpperBoundingObjective should return true).*/
    348348    virtual bool eval_upper_bound_f(Index n, const Number* x,
    349                                     Number& obj_value){}
     349                                    Number& obj_value){ return false; }
    350350  private:
    351351    /**@name Default Compiler Generated Methods
Note: See TracChangeset for help on using the changeset viewer.