Opened 12 years ago

Closed 12 years ago

#9532 closed defect (fixed)

fix uncontrolled randomness in sage/graphs

Reported by: Carl Witty Owned by: Carl Witty
Priority: major Milestone: sage-4.5.2
Component: graph theory Keywords:
Cc: Robert Miller Merged in: sage-4.5.2.alpha0
Authors: Carl Witty Reviewers: Robert Miller
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

There are several places in sage/graphs that use random numbers that aren't under the control of randstate.pyx. I'm going to fix them now.

Attachments (1)

trac_9532-graphs-randstate.patch (12.3 KB) - added by Carl Witty 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Carl Witty

comment:1 Changed 12 years ago by Carl Witty

Cc: Robert Miller added
Status: newneeds_review

OK, the patch is up. I fixed all the randomness I found (except for two calls in two versions of random_stress, which I left alone except for a comment).

comment:2 Changed 12 years ago by Robert Miller

Authors: Carl Witty
Reviewers: Robert Miller
Status: needs_reviewpositive_review

Looks good to me.

comment:3 Changed 12 years ago by Mitesh Patel

Merged in: sage-4.5.2.alpha0
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.