Skip to content

Commit 025cb41

Browse files
committed
Merge branch 'master' into smuv3.2
2 parents 58fe807 + 561da36 commit 025cb41

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
7 Bytes
Binary file not shown.

edg/parts/Batteries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def generate(self):
103103
else:
104104
self.connect(prev_cell.pwr.as_ground(self.pwr.link().current_drawn), cell.gnd)
105105
prev_capacity_min = cell.actual_capacity.lower().min(prev_capacity_min)
106-
prev_capacity_max= cell.actual_capacity.upper().min(prev_capacity_max)
106+
prev_capacity_max = cell.actual_capacity.upper().min(prev_capacity_max)
107107
prev_cell = cell
108108

109109
assert prev_cell is not None, "must generate >=1 cell"

0 commit comments

Comments
 (0)