Skip to content

Commit

Permalink
Merge pull request #47 from JuliaGeodynamics/boriskaus-patch-1
Browse files Browse the repository at this point in the history
Update Utils.jl
  • Loading branch information
boriskaus authored Mar 17, 2024
2 parents 71d4633 + 45a6183 commit aaf057f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaMEM_ModelGeneration/Utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ function cross_section(cart::CartData, field::Symbol=:phase; x=nothing, y=nothin
if !isnothing(x); Lon_level = x; else Lon_level=nothing; end
if !isnothing(y); Lat_level = y; else Lat_level=nothing; end

Cross = CrossSectionVolume(cart, Depth_level=Depth_level, Lat_level=Lat_level, Lon_level=Lon_level)
Cross = cross_section_volume(cart, Depth_level=Depth_level, Lat_level=Lat_level, Lon_level=Lon_level)

data_tuple, axes_str = flatten(Cross, field,x,y,z)
return data_tuple, axes_str
Expand Down

0 comments on commit aaf057f

Please sign in to comment.