From df7d35d4e04a6b7cbc848f7b95f8eeecc93e59b7 Mon Sep 17 00:00:00 2001 From: Jago Strong-Wright Date: Tue, 8 Oct 2024 21:44:36 +0100 Subject: [PATCH] broke something --- .../AdvectedPopulations/PISCES/phytoplankton/growth_rate.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Models/AdvectedPopulations/PISCES/phytoplankton/growth_rate.jl b/src/Models/AdvectedPopulations/PISCES/phytoplankton/growth_rate.jl index 26f92ab22..c4c89801a 100644 --- a/src/Models/AdvectedPopulations/PISCES/phytoplankton/growth_rate.jl +++ b/src/Models/AdvectedPopulations/PISCES/phytoplankton/growth_rate.jl @@ -139,7 +139,8 @@ end PAR = β₁ * PAR₁ + β₂ * PAR₂ + β₃ * PAR₃ φ = bgc.latitude(i, j, k, grid) - day_length = bgc.day_length(φ, clock.time) + + day_length = bgc.day_length(clock.time, φ) f₁ = 1.5 * day_length / (day_length + 0.5day)