Skip to content
Snippets Groups Projects
Commit 25cddf73 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Merge branch 'fix/signed-vtu-id' into 'develop'

Fix tag for signed integers in vtu outputs

See merge request !184
parents 21fb805a 33d8f920
No related branches found
No related tags found
1 merge request!184Fix tag for signed integers in vtu outputs
...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment