Skip to content

Commit

Permalink
Dimension issue with float -> np.array update in C3C4Competition test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidorme committed Sep 15, 2023
1 parent 4d3aa5b commit 5591109
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/pmodel/test_c3c4competition.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def test_c3c4competition(pmodel_c3_args, pmodel_c4_args, expected):
comp = C3C4Competition(
pmodel_c3.gpp,
pmodel_c4.gpp,
treecover=np.array([0]),
below_t_min=np.array([False]),
cropland=np.array([False]),
treecover=np.array([0, 0]),
below_t_min=np.array([False, False]),
cropland=np.array([False, False]),
)

d13CO2 = np.array([-8.4])
Expand Down

0 comments on commit 5591109

Please sign in to comment.