We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aea78b3 commit bbf372bCopy full SHA for bbf372b
opacus/accountants/analysis/prv/prvs.py
@@ -16,6 +16,7 @@
16
from typing import Tuple
17
18
import numpy as np
19
+import numpy.typing as npt
20
from scipy import integrate
21
from scipy.special import erfc
22
@@ -133,7 +134,7 @@ def mean(self) -> float:
133
134
135
@dataclass
136
class DiscretePRV:
- pmf: np.ndarray
137
+ pmf: npt.NDArray
138
domain: Domain
139
140
def __len__(self) -> int:
0 commit comments