Skip to content

Commit

Permalink
Update Utils.jl
Browse files Browse the repository at this point in the history
Forgotten to change the name
  • Loading branch information
boriskaus authored Mar 17, 2024
1 parent 71d4633 commit 45a6183
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 45a6183

Please sign in to comment.