If I see it correctly there are some typos in def randomvar_to_xadd(self, expr: Expression) in the elif statements. krondelta should be KronDelta and exponential must be Exponential.
In the method description I read:
Currently, self.reparam should be set to True for all rvs except for Bernoulli.
How should one set self.param if a domain uses multiple distributions, e.g. Navigation. Due to the assertion in line 259 self.reparam must be True:
If I see it correctly there are some typos in
def randomvar_to_xadd(self, expr: Expression)
in theelif
statements.krondelta
should beKronDelta
andexponential
must beExponential
.In the method description I read:
How should one set
self.param
if a domain uses multiple distributions, e.g.Navigation
. Due to the assertion in line 259self.reparam
must beTrue
: