Re: [Boost-bugs] [Boost C++ Libraries] #11272: Incorrect use of abs() function in libs/math/example/normal_misc_examples.cpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11272: Incorrect use of abs() function in libs/math/example/normal_misc_examples.cpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-06 17:47:20


#11272: Incorrect use of abs() function in
libs/math/example/normal_misc_examples.cpp
-------------------------------------------+-------------------------
  Reporter: Quentin Armitage <quentin@…> | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: math
   Version: Boost 1.57.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------------------+-------------------------
Changes (by johnmaddock):

 * status: new => closed
 * resolution: => fixed

Comment:

 abs is overloaded for floating point types in C++, but of course the call
 should be to std::abs. Fixed in
 https://github.com/boostorg/math/commit/282a74beea5686b1d3f949e9328b455d9374aa34

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11272#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC