I\'ve had problems with this before but now it\'s somehow working.
Now I\'ve following problem. I need to bind values into member-function before I call boost::bisect wi
This code:
std::pair result = bisect(boost::bind(&CLASS::Function,this, _1), 0.0, 1.000000, TerminationCondition());
is correct. The error you get means that what CLASS::Function returns is invalid. bisect
is complaining about multiple roots (or possibly no roots) in the given interval [0; 1]. How does CLASS::Function
look like?