Skip to content
Snippets Groups Projects
Commit b28d963f authored by Brian Groenke's avatar Brian Groenke
Browse files

Fix incorrect var ref in heat/water impl

parent 27b66c30
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ function water_energy_advection!(jH, jw, T, cw::Real, L::Real) ...@@ -23,7 +23,7 @@ function water_energy_advection!(jH, jw, T, cw::Real, L::Real)
T₁ = T[i-1], T₁ = T[i-1],
T₂ = T[i]; T₂ = T[i];
jH_w = advectiveflux(jw, T₁, T₂, cw, L) jH_w = advectiveflux(jw, T₁, T₂, cw, L)
state.jH[i] += jH_w jH[i] += jH_w
end end
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment