Skip to content

Commit fb57455

Browse files
Update src/Setup_geometry.jl
Co-authored-by: Albert de Montserrat <[email protected]>
1 parent 7016142 commit fb57455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Setup_geometry.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function add_box!(Phase, Temp, Grid::AbstractGeneralGrid; # required input
255255
if isa(T,LithosphericTemp)
256256
@views Phase[ind_flat] .= compute_phase(Phase[ind_flat], Temp[ind_flat], Xrot[ind], Yrot[ind], Zrot[ind], phase)
257257
end
258-
Temp[ind_flat] = compute_thermal_structure(Temp[ind_flat], Xrot[ind], Yrot[ind], Zrot[ind], Phase[ind_flat], T)
258+
@views Temp[ind_flat] .= compute_thermal_structure(Temp[ind_flat], Xrot[ind], Yrot[ind], Zrot[ind], Phase[ind_flat], T)
259259
end
260260

261261
# Set the phase. Different routines are available for that - see below.

0 commit comments

Comments
 (0)