Skip to content

Commit c0f9cdc

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

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
@@ -512,7 +512,7 @@ function add_ellipsoid!(Phase, Temp, Grid::AbstractGeneralGrid; # required i
512512

513513
# Compute thermal structure accordingly. See routines below for different options
514514
if T != nothing
515-
Temp[ind_flat] = compute_thermal_structure(Temp[ind_flat], Xrot[ind], Yrot[ind], Zrot[ind], Phase[ind_flat], T)
515+
@views Temp[ind_flat] .= compute_thermal_structure(Temp[ind_flat], Xrot[ind], Yrot[ind], Zrot[ind], Phase[ind_flat], T)
516516
end
517517

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

0 commit comments

Comments
 (0)