File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
- from typing import Union
1
+ from typing import Optional , Union
2
2
3
3
import arviz as az
4
4
import matplotlib .pyplot as plt
@@ -565,7 +565,7 @@ def __init__(
565
565
treatment_threshold : float ,
566
566
model = None ,
567
567
running_variable_name : str = "x" ,
568
- epsilon : float = 0.001 ,
568
+ epsilon : Optional [ float ] = 0.001 ,
569
569
** kwargs ,
570
570
):
571
571
super ().__init__ (model = model , ** kwargs )
Original file line number Diff line number Diff line change
1
+ from typing import Optional
2
+
1
3
import matplotlib .pyplot as plt
2
4
import numpy as np
3
5
import pandas as pd
@@ -370,7 +372,7 @@ def __init__(
370
372
treatment_threshold ,
371
373
model = None ,
372
374
running_variable_name = "x" ,
373
- epsilon : float = 0.001 ,
375
+ epsilon : Optional [ float ] = 0.001 ,
374
376
** kwargs ,
375
377
):
376
378
super ().__init__ (model = model , ** kwargs )
You can’t perform that action at this time.
0 commit comments