Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Acs 2 #105

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Acs 2 #105

wants to merge 6 commits into from

Conversation

olliethomas
Copy link
Member

No description provided.

@olliethomas olliethomas requested a review from tmke8 May 19, 2020 16:49
@olliethomas
Copy link
Member Author

this definitely will be full of mistakes, but pushing as requested

@@ -280,6 +280,7 @@ class ndarray(Generic[_DType]):
self,
key: Union[
None,
range,
Copy link
Member

Choose a reason for hiding this comment

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

doesn't seem to be used anywhere

Suggested change
range,

@@ -43,6 +54,9 @@ def exponential(scale: _FloatObj, size: Sequence[_IntObj]) -> ndarray[float64]:
def exponential(scale: Sequence[_FloatObj], size: Sequence[_IntObj]) -> ndarray[float64]: ...
def geometric(p: float, size: _IntObj) -> ndarray[float64]: ...
def get_state() -> Tuple[str, ndarray[_Int], _IntObj, _IntObj, _FloatObj]: ...
def multinomial(
n: int, pvals: _ArrayLike[float] = ..., size: Union[int, Tuple[int, ...]] = ...
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
n: int, pvals: _ArrayLike[float] = ..., size: Union[int, Tuple[int, ...]] = ...
n: int, pvals: _ArrayLike[_Float] = ..., size: Union[int, Tuple[int, ...]] = ...

this should at least get rid of the error. not sure if it's correct though

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants