We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 553c969 commit 34ad32eCopy full SHA for 34ad32e
mpisppy/fwph/fwph.py
@@ -64,6 +64,7 @@ def __init__(
64
scenario_creator_kwargs=None,
65
ph_converger=None,
66
rho_setter=None,
67
+ variable_probability=None,
68
):
69
super().__init__(
70
PH_options,
@@ -77,8 +78,8 @@ def __init__(
77
78
extension_kwargs=None,
79
ph_converger=ph_converger,
80
rho_setter=rho_setter,
- )
81
-
+ )
82
+ assert (variable_probability == None), "variable probability is not allowed with fwph"
83
self._init(FW_options)
84
85
def _init(self, FW_options):
0 commit comments