Skip to content

Commit a61b1db

Browse files
committed
Fix: typo
1 parent e23a8ff commit a61b1db

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

kaleidoscope/generators.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from typing import Literal
88

99
import numpy as np
10-
from numpy import ndarray
1110
from numpy.random import BitGenerator
1211
from numpy.random import Generator
1312

@@ -114,7 +113,7 @@ class DecileNormal(Normal):
114113

115114
_g: Generator
116115

117-
_q: ndarray[float, float]
116+
_q: np.ndarray
118117
"""The deciles of the normal distribution."""
119118
_s: int | Literal[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
120119
"""The decile selector."""
@@ -130,7 +129,7 @@ def __init__(
130129
"""
131130
self._s = s % 10
132131
self._g = default_generator(seed)
133-
self._q = np.ndarray(
132+
self._q = np.array(
134133
[
135134
-3.09023,
136135
-1.28155,

0 commit comments

Comments
 (0)