Order the VTK scalar types to favor used types

Reorder the `VTKScalarTypes` to put the repeated types at the bottom.
This will avoid using types like `long` that are essentially the same as
other types (e.g. `long long`) but will still be considered different.
This causes problems when checking against some VTK types (such as
`vtkIdType`).
This commit is contained in:
Kenneth Moreland 2023-12-17 22:56:09 -07:00
parent 053237e900
commit 23fbedf54d

@ -33,19 +33,19 @@ namespace tovtkm
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// All scalar types in vtkType.h // All scalar types in vtkType.h
using VTKScalarTypes = vtkm::List< // using VTKScalarTypes = vtkm::List< //
char, //
signed char, // signed char, //
unsigned char, // unsigned char, //
short, // short, //
unsigned short, // unsigned short, //
int, // int, //
unsigned int, // unsigned int, //
long, //
unsigned long, //
long long, // long long, //
unsigned long long, // unsigned long long, //
float, // float, //
double // double, //
char, //
long, //
unsigned long //
>; >;
using SpecialGradientOutTypes = using SpecialGradientOutTypes =