Skip to content

Commit

Permalink
fix breaking WriteVTK change (restricting kwargs to NTuples)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed Feb 2, 2022
1 parent 7286cbe commit 6da1fe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vtktools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ function build_vtk_grids(::Val{:vti}, mesh, n_visnodes, verbose,
Nx = Ny = resolution + 1
dx = dy = length_level_0/resolution
origin = center_level_0 .- 1/2 * length_level_0
spacing = [dx, dy]
spacing = (dx, dy)
@timeit "build VTK grid (node data)" vtk_nodedata = vtk_grid(vtk_filename, Nx, Ny,
origin=origin,
origin=tuple(origin...),
spacing=spacing)
else
vtk_nodedata = nothing
Expand Down

0 comments on commit 6da1fe0

Please sign in to comment.