From 5591109ad388bf3a43585dcb1936ca5ef077492c Mon Sep 17 00:00:00 2001 From: David Orme Date: Fri, 15 Sep 2023 13:36:40 +0100 Subject: [PATCH] Dimension issue with float -> np.array update in C3C4Competition test --- tests/pmodel/test_c3c4competition.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/pmodel/test_c3c4competition.py b/tests/pmodel/test_c3c4competition.py index c603b7c2..c04269be 100644 --- a/tests/pmodel/test_c3c4competition.py +++ b/tests/pmodel/test_c3c4competition.py @@ -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])