Skip to content
Snippets Groups Projects

Fix tag for signed integers in vtu outputs

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -222,7 +222,7 @@ struct VTKWriter::VTKType
@@ -222,7 +222,7 @@ struct VTKWriter::VTKType
if constexpr (std::is_unsigned_v<DataType>) {
if constexpr (std::is_unsigned_v<DataType>) {
return "UInt" + stringify(sizeof(DataType) * 8);
return "UInt" + stringify(sizeof(DataType) * 8);
} else {
} else {
return "UInt" + stringify(sizeof(DataType) * 8);
return "Int" + stringify(sizeof(DataType) * 8);
}
}
} else if constexpr (std::is_floating_point_v<DataType>) {
} else if constexpr (std::is_floating_point_v<DataType>) {
return "Float" + stringify(sizeof(DataType) * 8);
return "Float" + stringify(sizeof(DataType) * 8);
Loading