summaryrefslogtreecommitdiff
path: root/boost/random/uniform_on_sphere.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/random/uniform_on_sphere.hpp')
-rw-r--r--boost/random/uniform_on_sphere.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/random/uniform_on_sphere.hpp b/boost/random/uniform_on_sphere.hpp
index fdd4e950bb..0f744551a2 100644
--- a/boost/random/uniform_on_sphere.hpp
+++ b/boost/random/uniform_on_sphere.hpp
@@ -194,7 +194,7 @@ public:
{
uniform_01<RealType> uniform;
RealType sqsum;
- RealType x, y, z;
+ RealType x, y;
do {
x = uniform(eng) * 2 - 1;
y = uniform(eng) * 2 - 1;