
The program compiled! Thank you for info and the work everyone is doing with Boost. Gary -----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of John Maddock Sent: Thursday, June 12, 2008 8:49 AM To: boost@lists.boost.org Subject: Re: [boost] erfc id not found Gary.Stevens@deq.idaho.gov wrote:
I did add the include statement. Please find attached the sample code. Thank you.
The Boost versions of all the special functions are declared in namespace boost::math::, so either call boost::math::erfc(val) or add a "using boost::math::erfc;" statement to bring the function into the current scope. The latter is probably not recomended in this case as you may get ambiguities between ::erfc declared in *some* but not all math.h versions, and boost::math::erfc. HTH, John. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost