From b99920d47b4f9e5b959dbb6d671c86a1878fda13 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 5 May 2023 12:13:16 -0400 Subject: [PATCH] Oscillator: use a type of the right size for `oIdx` --- vtkm/source/Oscillator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtkm/source/Oscillator.cxx b/vtkm/source/Oscillator.cxx index ed3a17701..df4189169 100644 --- a/vtkm/source/Oscillator.cxx +++ b/vtkm/source/Oscillator.cxx @@ -75,7 +75,7 @@ public: VTKM_EXEC vtkm::FloatDefault operator()(const vtkm::Vec3f& vec) const { - vtkm::UInt8 oIdx; + vtkm::IdComponent oIdx; vtkm::FloatDefault t0, t, result = 0; const Oscillation* oscillator;