File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class Randomize(InformedBlockAlgorithm):
2020 The algorithm to randomize data.
2121 """
2222
23- _dist : Literal [ "normal" , "lognormal" , "chlorophyll" ] | str
23+ _dist : str
2424 """The type of measurement error distribution."""
2525
2626 _root_seed : np .ndarray
@@ -30,7 +30,7 @@ def __init__(
3030 self ,
3131 dtype : np .dtype = np .single ,
3232 m : int = 2 ,
33- dist : Literal ["normal" , "lognormal" , "chlorophyll" ] | str = "normal" ,
33+ dist : Literal ["normal" , "lognormal" , "chlorophyll" ] = "normal" ,
3434 seed : np .ndarray | None = None ,
3535 ):
3636 """
@@ -95,7 +95,7 @@ def randomize(
9595 case _:
9696 y = x
9797 if clip is not None :
98- y = np .clip (y , a_min = clip [0 ], a_max = clip [1 ])
98+ y = np .clip (y , clip [0 ], clip [1 ])
9999 return np .where (np .isfinite (y ), y , x )
100100
101101 compute_block = randomize
You can’t perform that action at this time.
0 commit comments