Skip to content

Commit

Permalink
typoo
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoinemarteau committed Oct 21, 2024
1 parent 336fa17 commit 78e7db6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Visualization/Vtk.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ function create_pvtk_file(
for (k, v) in celldata
# component_names are actually always nothing as there are no field in ptvk atm
component_names = _data_component_names(v)
vtkfile[k, VTKCellData(); component_names] = _prepare_data(v)
vtkfile[k, VTKCellData(), component_names=component_names] = _prepare_data(v)
end
for (k, v) in nodaldata
component_names = _data_component_names(v)
vtkfile[k, VTKPointData(); component_names] = _prepare_data(v)
vtkfile[k, VTKPointData(), component_names=component_names] = _prepare_data(v)
end
end
return vtkfile
Expand Down

0 comments on commit 78e7db6

Please sign in to comment.