Opened 14 years ago

Closed 14 years ago

#2764 closed Patches (fixed)

boost::random::xor_combine mistake

Reported by: rick68@… Owned by: Steven Watanabe
Milestone: Boost 1.39.0 Component: random
Version: Boost 1.38.0 Severity: Problem
Keywords: Cc:

Description

Hi,

In <boost/random/xor_combine.hpp>

line44: BOOST_STATIC_CONSTANT(int, shift1 = s1);<br> line45: BOOST_STATIC_CONSTANT(int, shfit2 = s2);<br>

constant variable "shfit2" has mistake, maybe correct to "shift2".

Attachments (1)

xor_combine.hpp.diff (371 bytes ) - added by rick68@… 14 years ago.
Patch

Download all attachments as: .zip

Change History (2)

by rick68@…, 14 years ago

Attachment: xor_combine.hpp.diff added

Patch

comment:1 by Steven Watanabe, 14 years ago

Resolution: fixed
Status: newclosed

(In [51311]) Change shfit2 to shift2. Add missing namespace scope definitions of shift1 and shift2. Fixes #2764

Note: See TracTickets for help on using tickets.