Skip to content

Commit

Permalink
Fix bug where costs were modified in place
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinchuk committed May 29, 2024
1 parent a9ba6e9 commit f6c9594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reV/supply_curve/supply_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ def compute_total_lcoe(
is in the sc points input, by default True
"""
if "trans_cap_cost_per_mw" in self._trans_table:
cost = self._trans_table["trans_cap_cost_per_mw"]
cost = self._trans_table["trans_cap_cost_per_mw"].values.copy()
elif "trans_cap_cost" not in self._trans_table:
scc = self._sc_capacity_col
cost = self._compute_trans_cap_cost(
Expand Down

0 comments on commit f6c9594

Please sign in to comment.