|
Boost-Commit : |
From: john_at_[hidden]
Date: 2008-04-11 13:57:58
Author: johnmaddock
Date: 2008-04-11 13:57:58 EDT (Fri, 11 Apr 2008)
New Revision: 44187
URL: http://svn.boost.org/trac/boost/changeset/44187
Log:
We don't need duplicate using declarations.
Text files modified:
trunk/libs/math/test/test_round.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/math/test/test_round.cpp
==============================================================================
--- trunk/libs/math/test/test_round.cpp (original)
+++ trunk/libs/math/test/test_round.cpp 2008-04-11 13:57:58 EDT (Fri, 11 Apr 2008)
@@ -39,6 +39,7 @@
template <class T, class U>
void check_within_half(T a, U u)
{
+ BOOST_MATH_STD_USING
if(fabs(a-u) > 0.5f)
{
BOOST_ERROR("Rounded result differed by more than 0.5 from the original");
@@ -60,7 +61,6 @@
void check_trunc_result(T a, U u)
{
BOOST_MATH_STD_USING
- using ::abs;
if(fabs(a-u) >= 1)
{
BOOST_ERROR("Rounded result differed by more than 1 from the original");
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