Skip to content

Commit

Permalink
Fix B matrix loading
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi authored and romainsacchi committed Jan 23, 2024
1 parent 699b3c0 commit 772374d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions carculator_utils/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,8 +724,8 @@ def get_B_matrix(self) -> xr.DataArray:
[2005, 2010, 2020, 2030, 2040, 2050]
if self.scenario != "static"
else [2020],
list(self.impact_categories.keys()),
list(self.inputs.keys()),
np.asarray(list(self.inputs.keys()), dtype="object"),
np.asarray(list(self.impact_categories.keys()), dtype="object"),
],
dims=["year", "category", "activity"],
)
Expand Down

0 comments on commit 772374d

Please sign in to comment.