Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77249 - in sandbox/math: boost/math/special_functions libs/math/test
From: john_at_[hidden]
Date: 2012-03-06 13:47:42


Author: johnmaddock
Date: 2012-03-06 13:47:42 EST (Tue, 06 Mar 2012)
New Revision: 77249
URL: http://svn.boost.org/trac/boost/changeset/77249

Log:
Fix build failures with arbitrary precision types.
Text files modified:
   sandbox/math/boost/math/special_functions/owens_t.hpp | 4 ++--
   sandbox/math/libs/math/test/owens_t_T7.hpp | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: sandbox/math/boost/math/special_functions/owens_t.hpp
==============================================================================
--- sandbox/math/boost/math/special_functions/owens_t.hpp (original)
+++ sandbox/math/boost/math/special_functions/owens_t.hpp 2012-03-06 13:47:42 EST (Tue, 06 Mar 2012)
@@ -383,14 +383,14 @@
                   const RealType normh = owens_t_znorm1(h);
                   const RealType normah = owens_t_znorm1(fabs_ah);
                   val = static_cast<RealType>(1)/static_cast<RealType>(4) - normh*normah -
- owens_t_dispatch(fabs_ah, static_cast<RealType>(1) / fabs_a, h);
+ owens_t_dispatch(fabs_ah, static_cast<RealType>(1 / fabs_a), h);
                } // if( h <= 0.67 )
                else
                {
                   const RealType normh = detail::owens_t_znorm2(h);
                   const RealType normah = detail::owens_t_znorm2(fabs_ah);
                   val = constants::half<RealType>()*(normh+normah) - normh*normah -
- owens_t_dispatch(fabs_ah, static_cast<RealType>(1) / fabs_a, h);
+ owens_t_dispatch(fabs_ah, static_cast<RealType>(1 / fabs_a), h);
                } // else [if( h <= 0.67 )]
             } // else [if(fabs_a <= 1)]
 

Modified: sandbox/math/libs/math/test/owens_t_T7.hpp
==============================================================================
--- sandbox/math/libs/math/test/owens_t_T7.hpp (original)
+++ sandbox/math/libs/math/test/owens_t_T7.hpp 2012-03-06 13:47:42 EST (Tue, 06 Mar 2012)
@@ -170,14 +170,14 @@
                   const RealType normh = owens_t_znorm1(h);
                   const RealType normah = owens_t_znorm1(fabs_ah);
                   val = static_cast<RealType>(1)/static_cast<RealType>(4) - normh*normah -
- compute_owens_t_T7(fabs_ah, static_cast<RealType>(1) / fabs_a);
+ compute_owens_t_T7(fabs_ah, static_cast<RealType>(1 / fabs_a));
                } // if( h <= 0.67 )
                else
                {
                   const RealType normh = owens_t_znorm2(h);
                   const RealType normah = owens_t_znorm2(fabs_ah);
                   val = constants::half<RealType>()*(normh+normah) - normh*normah -
- compute_owens_t_T7(fabs_ah, static_cast<RealType>(1) / fabs_a);
+ compute_owens_t_T7(fabs_ah, static_cast<RealType>(1 / fabs_a));
                } // else [if( h <= 0.67 )]
             } // else [if(fabs_a <= 1)]
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk