Skip to content

Commit 34ad32e

Browse files
indicating that fwph does not support variable probability
1 parent 553c969 commit 34ad32e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: mpisppy/fwph/fwph.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def __init__(
6464
scenario_creator_kwargs=None,
6565
ph_converger=None,
6666
rho_setter=None,
67+
variable_probability=None,
6768
):
6869
super().__init__(
6970
PH_options,
@@ -77,8 +78,8 @@ def __init__(
7778
extension_kwargs=None,
7879
ph_converger=ph_converger,
7980
rho_setter=rho_setter,
80-
)
81-
81+
)
82+
assert (variable_probability == None), "variable probability is not allowed with fwph"
8283
self._init(FW_options)
8384

8485
def _init(self, FW_options):

0 commit comments

Comments
 (0)