From a0109a394a3841ef0cd77f7e91a7971288845f58 Mon Sep 17 00:00:00 2001 From: "Navid C. Constantinou" Date: Fri, 13 Jun 2025 12:21:32 +1000 Subject: [PATCH] Fix bug on sea ice fluxes --- .../InterfaceComputations/assemble_net_fluxes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OceanSeaIceModels/InterfaceComputations/assemble_net_fluxes.jl b/src/OceanSeaIceModels/InterfaceComputations/assemble_net_fluxes.jl index 1532a3be7..972f25366 100644 --- a/src/OceanSeaIceModels/InterfaceComputations/assemble_net_fluxes.jl +++ b/src/OceanSeaIceModels/InterfaceComputations/assemble_net_fluxes.jl @@ -261,7 +261,7 @@ end @inbounds begin Ts = surface_temperature[i, j, kᴺ] Ts = convert_to_kelvin(sea_ice_properties.temperature_units, Ts) - ℵi = ice_concentration[i, j, 1] + ℵi = ice_concentration[i, j, kᴺ] Qs = downwelling_radiation.Qs[i, j, 1] Qℓ = downwelling_radiation.Qℓ[i, j, 1]