Skip to content

Commit 465d228

Browse files
Revert "Reinsert type check in merge loop."
This reverts commit eeb8053.
1 parent eeb8053 commit 465d228

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pvlib/bifacial.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ def merge(reports):
182182
report = reports[0]
183183
keys_report = list(report.keys())
184184
for other_report in reports[1:]: # loop won't run if len(reports) < 2
185-
if isinstance(other_report, dict):
186-
for key in keys_report:
187-
report[key] += other_report[key]
185+
for key in keys_report:
186+
report[key] += other_report[key]
188187
return report

0 commit comments

Comments
 (0)