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)
Change History (2)
by , 14 years ago
Attachment: | inversive_congruential.hpp.diff added |
---|
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch