diff --git a/vtkm/interop/anari/ANARIMapperVolume.cxx b/vtkm/interop/anari/ANARIMapperVolume.cxx index 11ad9068f..9243d4ad5 100644 --- a/vtkm/interop/anari/ANARIMapperVolume.cxx +++ b/vtkm/interop/anari/ANARIMapperVolume.cxx @@ -129,8 +129,8 @@ void ANARIMapperVolume::ConstructArrays(bool regenerate) const auto& cells = actor.GetCellSet(); const auto& fieldArray = actor.GetField().GetData(); - const bool isStructured = cells.IsType>(); - const bool isFloat = fieldArray.IsType>(); + const bool isStructured = cells.CanConvert>(); + const bool isFloat = fieldArray.CanConvert>(); this->Handles->ReleaseArrays();