
Thanks John, Now it works perfectly. Incidentally, have you considered for the Math toolkit some generical financial objects (i.e.: time value, futures, Capital Asset Pricing Model, etc)? Leopoldo -----Mensaje original----- De: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] En nombre de John Maddock Enviado el: Monday, July 02, 2007 4:44 AM Para: boost@lists.boost.org Asunto: Re: [boost] [math toolkit] Leopoldo Peralta wrote:
I went to the current SVN and updated the log1.hpp file in my Boost installation. The same error that I reported occurs.
Going deeper into my Boost based project , I found that this particular error happens only when the Boost Rational Library is included.
It seems to me that boost\math\tools\promotion.hpp tool may need some fix to avoid this conflicting interaction between Boost::Rational and Boost::MathToolKit
OK I've tracked this down: just add a using std::abs; At the start of the log1p function definition. A patch is going into SVN now. HTH, John. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost