Skip to content

Commit fc4406f

Browse files
committed
release 0.1.2 with a few bugfixes
1 parent b1985a1 commit fc4406f

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

docs/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
0.1.2 (2021-03-10)
5+
------------------
6+
7+
Few small bugfixes
8+
9+
410
0.1.1 (2021-02-03)
511
------------------
612

leaf/power.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __repr__(self):
3030
return f"PowerMeasurement(dynamic={self.dynamic}W, static={self.static}W)"
3131

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

3535
def __add__(self, other):
3636
return PowerMeasurement(self.dynamic + other.dynamic, self.static + other.static)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "leafsim"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "A simulator for Large Energy-Aware Fog computing environments."
55
authors = ["Philipp Wiesner <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)