Skip to content

Commit

Permalink
Updated to new random events version
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsch420 committed Nov 13, 2023
1 parent 7b907bf commit 4fc07fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
random-events>=1.1.5
random-events>=1.2.5
anytree>=2.9.0
portion>=2.4.1
2 changes: 1 addition & 1 deletion src/probabilistic_model/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.5"
__version__ = "1.2.6"
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def maximize_expressiveness(self) -> Self:
return copy.copy(self)

def to_json(self) -> Dict[str, Any]:
return {**super().to_json(), "variable": json.loads(self.variable.model_dump_json())}
return {**super().to_json(), "variable": self.variable.to_json()}


class ContinuousDistribution(UnivariateDistribution):
Expand Down

0 comments on commit 4fc07fe

Please sign in to comment.