Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoArtiano committed Jan 14, 2025
1 parent 5b0d653 commit a087162
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/meshes/structured_mesh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ function Base.show(io::IO, ::MIME"text/plain", mesh::StructuredMesh)
# Print code lines of mapping_as_string
if occursin("\n", mesh.mapping_as_string)
mapping_lines = replace(mesh.mapping_as_string, '\n' => ';')
else
mapping_lines = mesh.mapping_as_string
end

mapping_lines = split(mapping_lines, ";")
Expand Down

0 comments on commit a087162

Please sign in to comment.