Skip to content

Commit 3d1899e

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

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
@@ -430,7 +430,7 @@ function add_sphere!(Phase, Temp, Grid::AbstractGeneralGrid; # required input
430430
end
431431

432432
# Set the phase. Different routines are available for that - see below.
433-
Phase[ind_flat] = compute_phase(Phase[ind_flat], Temp[ind_flat], X[ind], Y[ind], Z[ind], phase)
433+
@views Phase[ind_flat] .= compute_phase(Phase[ind_flat], Temp[ind_flat], X[ind], Y[ind], Z[ind], phase)
434434

435435
return nothing
436436
end

0 commit comments

Comments
 (0)