Skip to content

Conversation

@oyamad
Copy link
Member

@oyamad oyamad commented Mar 11, 2018

Close #393.

(Also revert the changes by #391, as we should not have both random_choice and random.draw.)

oyamad added 3 commits March 9, 2018 15:08
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 94.971% when pulling 4dec227 on random_draw into d575ea5 on master.

@jstac
Copy link
Contributor

jstac commented Mar 11, 2018

@mmcky I'm fully in favor of this PR and it would help me clean up master if we could move quickly on it. Thanks.

def draw(cdf, size=None):
"""
Generate a random sample according to the cumulative distribution
given by `cdf`. Jit-complied by Numba in nonptython mode.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean "Jit-compiled by Numba in nopython mode"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah good catch, thanks.

@mmcky
Copy link
Contributor

mmcky commented Mar 12, 2018

I think this PR can be merged. @oyamad can you apply ready label when you're happy with it.

@oyamad oyamad added the ready label Mar 12, 2018
@mmcky mmcky merged commit 8026e8f into master Mar 12, 2018
@mmcky mmcky deleted the random_draw branch March 12, 2018 00:52
@jstac jstac mentioned this pull request Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants