Skip to content

Commit 6f37dfc

Browse files
Update src/LaMEM_post_processing.jl
Co-authored-by: Albert de Montserrat <58044444+albert-de-montserrat@users.noreply.github.com>
1 parent 323fe37 commit 6f37dfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaMEM_post_processing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ function get_data_timestep(model_path::String,timestep::String,FileName_pvtr::St
341341
data = read_LaMEM_PVTR_file(proc_folder,FileName_pvtr;fields=p_fields)
342342

343343
# Correct surface level
344-
data.z.val .= data.z.val .- surface_level # surf_level read from dat file
344+
data.z.val .-= surface_level # surf_level read from dat file
345345

346346
return data
347347
end

0 commit comments

Comments
 (0)