Skip to content

Commit

Permalink
update compat bounds for HDF5.jl (#52)
Browse files Browse the repository at this point in the history
* update compat bounds for HDF5.jl

* fix breaking WriteVTK change (restricting kwargs to NTuples)
  • Loading branch information
ranocha authored Feb 2, 2022
1 parent 771cb3d commit 841c416
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ WriteVTK = "64499a7a-5c06-52f2-abe2-ccb03c286192"

[compat]
Glob = "1.3"
HDF5 = "0.14, 0.15"
HDF5 = "0.14, 0.15, 0.16"
ProgressMeter = "1.3"
StaticArrays = "0.12, 1.0"
TimerOutputs = "0.5"
Expand Down
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 841c416

Please sign in to comment.