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)