Opened 14 years ago

Closed 14 years ago

#2673 closed Patches (fixed)

inversive_congruential validation

Reported by: anonymous Owned by: No-Maintainer
Milestone: Boost 1.38.0 Component: random
Version: Boost 1.37.0 Severity: Optimization
Keywords: Cc: Jens.Maurer@…

Description

Hi,

In <boost/random/inversive_congruential.hpp>

line74: bool validation(result_type x) const { return val == x; }

The validation() of function member declare "static" will be better.

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

by rick68@…, 14 years ago

Patch

comment:1 by Steven Watanabe, 14 years ago

Resolution: fixed
Status: newclosed

(In [50997]) Make validation a static member function. Fixes #2673

Note: See TracTickets for help on using tickets.