Skip to content

Commit

Permalink
Prefix Trixi2Vtk. to convert to avoid overwriting Base.convert
Browse files Browse the repository at this point in the history
  • Loading branch information
sloede committed Sep 3, 2020
1 parent 423a40d commit 6d32914
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/convert.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ julia> Trixi2Vtk.convert("out/solution_000*.h5")
[...]
```
"""
function convert(filename::AbstractString...;
format=:vtu, verbose=false, hide_progress=false, pvd=nothing,
output_directory=".", nvisnodes=nothing)
function Trixi2Vtk.convert(filename::AbstractString...;
format=:vtu, verbose=false, hide_progress=false, pvd=nothing,
output_directory=".", nvisnodes=nothing)
# Note: We have to prefix `Trixi2Vtk.` to `convert` to avoid overwriting `Base.convert`
# Reset timer
reset_timer!()

Expand Down

0 comments on commit 6d32914

Please sign in to comment.