Changeset 92


Ignore:
Timestamp:
Oct 26, 2006 10:15:36 AM (13 years ago)
Author:
pbonami
Message:

Fix compilation problem when Filter is not present

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Bonmin/src/Interfaces/BonOsiTMINLPInterface.cpp

    r90 r92  
    1818
    1919#include "Ipopt/BonIpoptSolver.hpp"
     20#ifdef COIN_HAS_FSQP
    2021#include "Filter/BonFilterSolver.hpp"
     22#endif
    2123
    2224using namespace Ipopt;
     
    316318  //Register options for all possible solvers (besides the one used
    317319  IpoptSolver * ipopt = dynamic_cast<IpoptSolver *> (GetRawPtr(app_));
     320#ifdef COIN_HAS_FSQP
    318321  FilterSolver * filter = dynamic_cast<FilterSolver *> (GetRawPtr(app_));
    319 
     322#endif
    320323  if(!ipopt)
    321324    {
     
    325328      ipopt = NULL;
    326329    }
     330
     331#ifdef COIN_HAS_FSQP
    327332  if(!filter)
    328333    {
     
    332337      filter = NULL;
    333338    }
    334                                                
     339#endif         
     340                               
    335341}
    336342
Note: See TracChangeset for help on using the changeset viewer.