From 78e7db66098eb94fac67e8689a8806365bb7abdb Mon Sep 17 00:00:00 2001 From: Antoine Marteau Date: Mon, 21 Oct 2024 18:06:36 +1100 Subject: [PATCH] typoo --- src/Visualization/Vtk.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Visualization/Vtk.jl b/src/Visualization/Vtk.jl index c1b86c17c..83c4fb6d7 100644 --- a/src/Visualization/Vtk.jl +++ b/src/Visualization/Vtk.jl @@ -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