E533 BUG: internal call fix in random.choice by certik · Pull Request #2827 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@certik
Copy link
Contributor
@certik certik commented Dec 15, 2012

An random.random call from within mtrand was done by a call to
np.random.random instead of inside the class. This can possibly lead
to non-deterministic results after seeding.

Conflicts:

numpy/random/mtrand/mtrand.c
numpy/random/mtrand/mtrand.pyx

An random.random call from within mtrand was done by a call to
np.random.random instead of inside the class. This can possibly lead
to non-deterministic results after seeding.

Conflicts:

	numpy/random/mtrand/mtrand.c
	numpy/random/mtrand/mtrand.pyx
@certik
Copy link
Contributor Author
certik commented Dec 15, 2012

@seberg --- I had to fix a conflict and rename shape -> size. Are we missing some patches in the 1.7 branch?

@certik
Copy link
Contributor Author
certik commented Dec 15, 2012

Ok, I see what happened. I have backported your previous patches in #2820, but didn't merge it yet. So this PR needs to be rebased on top of #2820 first. I am simply going to push your fix on top of #2820 and close this one.

@certik
Copy link
Contributor Author
certik commented Dec 15, 2012

Cool, I pushed in your patch on top of #2820, so I am closing this one.

@certik certik closed this Dec 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0