Subject: [Boost-bugs] [Boost C++ Libraries] #11454: uniform_on_sphere.cpp incorrect for 1D vectors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-07-07 17:47:23
#11454: uniform_on_sphere.cpp incorrect for 1D vectors
------------------------------+---------------------------
Reporter: jon.gammell@⦠| Owner: no-maintainer
Type: Bugs | Status: new
Milestone: To Be Determined | Component: random
Version: Boost 1.58.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------
On OSX 10.10 with Boost 1.58, the boost::uniform_on_sphere distribution
returns incorrect 1D "vectors" that have a magnitude that is not equal to
1. I believe that the bug exists from 1.56 onwards.
Attached is a minimum working example that demonstrates the bug.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11454> 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