Skip to content

Commit

Permalink
release 0.1.2 with a few bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
birnbaum committed Mar 10, 2021
1 parent b1985a1 commit fc4406f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

0.1.2 (2021-03-10)
------------------

Few small bugfixes


0.1.1 (2021-02-03)
------------------

Expand Down
2 changes: 1 addition & 1 deletion leaf/power.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __repr__(self):
return f"PowerMeasurement(dynamic={self.dynamic}W, static={self.static}W)"

def __float__(self) -> float:
return self.dynamic + self.static
return float(self.dynamic + self.static)

def __add__(self, other):
return PowerMeasurement(self.dynamic + other.dynamic, self.static + other.static)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "leafsim"
version = "0.1.1"
version = "0.1.2"
description = "A simulator for Large Energy-Aware Fog computing environments."
authors = ["Philipp Wiesner <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit fc4406f

Please sign in to comment.