Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-07-02 05:44:26


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk