diff --git a/model/atmosphere/advection/tests/stencil_tests/test_face_val_ppm_stencil_01.py b/model/atmosphere/advection/tests/stencil_tests/test_face_val_ppm_stencil_01.py index b5ceb9b413..222a53e035 100644 --- a/model/atmosphere/advection/tests/stencil_tests/test_face_val_ppm_stencil_01.py +++ b/model/atmosphere/advection/tests/stencil_tests/test_face_val_ppm_stencil_01.py @@ -73,6 +73,6 @@ def input_data(self, grid): p_cc = random_field(grid, CellDim, KDim, extend={KDim: 1}) p_cellhgt_mc_now = random_field(grid, CellDim, KDim, extend={KDim: 1}) k = as_field((KDim,), np.arange(0, _shape(grid, KDim, extend={KDim: 1})[0], dtype=int32)) - elev = k[-2] + elev = k[-2].as_scalar() return dict(p_cc=p_cc, p_cellhgt_mc_now=p_cellhgt_mc_now, k=k, elev=elev, z_slope=z_slope) diff --git a/model/atmosphere/advection/tests/stencil_tests/test_face_val_ppm_stencil_02.py b/model/atmosphere/advection/tests/stencil_tests/test_face_val_ppm_stencil_02.py index bfa201e5e3..b9f27fb7fe 100644 --- a/model/atmosphere/advection/tests/stencil_tests/test_face_val_ppm_stencil_02.py +++ b/model/atmosphere/advection/tests/stencil_tests/test_face_val_ppm_stencil_02.py @@ -60,7 +60,7 @@ def input_data(self, grid): k = as_field((KDim,), np.arange(0, _shape(grid, KDim)[0], dtype=int32)) slev = int32(1) slevp1 = slev + int32(1) - elev = k[-3] + elev = int32(k[-3].as_scalar()) elevp1 = elev + int32(1) return dict( diff --git a/spack/gt4py-stable/spack.yaml b/spack/gt4py-stable/spack.yaml index eb4d6940f1..9d44fb08e4 100644 --- a/spack/gt4py-stable/spack.yaml +++ b/spack/gt4py-stable/spack.yaml @@ -1,10 +1,10 @@ spack: specs: - - py-icon4py@main%gcc@9.3.0 ^py-gt4py@1.0.1.7%gcc@9.3.0 + - py-icon4py@main%gcc@9.3.0 ^py-gt4py@1.0.3.1%gcc@9.3.0 view: false concretizer: unify: true develop: py-icon4py: - spec: py-icon4py@main%gcc@9.3.0 ^py-gt4py@1.0.1.7%gcc@9.3.0 + spec: py-icon4py@main%gcc@9.3.0 ^py-gt4py@1.0.3.1%gcc@9.3.0 path: ../../