Skip to content

Commit ccd7565

Browse files
Minor fix to let Vtk.jl support changes in Vtk 1.7.X versus 1.6.X
1 parent 15ffc55 commit ccd7565

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ LineSearches = "7.0.1"
3838
NLsolve = "4.3.0"
3939
QuadGK = "2.3.1"
4040
StaticArrays = "0.12.1"
41-
WriteVTK = "~1.6"
41+
WriteVTK = "1.7"
4242
julia = "1.0"
4343

4444
[extras]

src/Visualization/Vtk.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function _generate_vtk_cells(
167167
type_to_vtknodes)
168168

169169
V = eltype(cell_to_nodes)
170-
meshcells = MeshCell{V}[]
170+
meshcells = MeshCell{WriteVTK.VTKCellTypes.VTKCellType,V}[]
171171

172172
d = _vtkcelltypedict()
173173

0 commit comments

Comments
 (0)