Skip to content

Commit f58b1ca

Browse files
committed
Clearer warning message.
1 parent fdc27c1 commit f58b1ca

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
@@ -202,7 +202,7 @@ function AddBox!(Phase, Temp, Grid::AbstractGeneralGrid; # requi
202202
end
203203

204204
if Origin !== nothing && isa(T, McKenzie_subducting_slab)
205-
@warn "McKenzie temperature field requires that Origin = [xmin,ymin,zmax] of the box."
205+
@warn "McKenzie temperature does not require to define Origin, if Origin is defined it must be equal to [xmin,ymin,zmax] of the box that has been defined."
206206
if Origin[1] != xlim[1] || Origin[2] != ylim[1] || Origin[3] != zlim[2]
207207
@error "Origin is not set up correctly. For fixing the problem Origin can be left blank or Origin = [xmin,ymin,zmax] of the box"
208208
end

0 commit comments

Comments
 (0)