mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
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:
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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user