Boost logo

Boost :

From: Andy Little (andy_at_[hidden])
Date: 2004-03-15 05:33:09


pqs-1-00-03-boost Bugs list

1) In "boost/pqs/operations/det_delog.hpp" One specialisation of struct
boost::pqs::detail::delog fails to deduce correct pow function to call.

fix:

At line 145 in "boost/pqs/operations/det_delog.hpp" replace the original
code:

 static result_type get()
        { static typename return_traits::body_constant_type val
            = std::pow(of_quantity::exponent_base,
                static_cast<value_type>(Nume)
                / static_cast<value_type>(Denom) );
            return val;
        }

with:

 static result_type get()
        { static typename return_traits::body_constant_type val
            =
std::pow(static_cast<value_type>(of_quantity::exponent_base),
                static_cast<value_type>(Nume)
                / static_cast<value_type>(Denom) );
            return val;
        }

regards
Andy Little


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