VTK::ChartsCoreCxx-TestLinePlotDouble performs illegal conversion of too-large double to float
/Users/builder/external/VTK/Charts/Core/vtkPlotPoints.cxx:612:42: runtime error: value -8.41471e+79 is outside the range of representable values of type 'float' SUMMARY: AddressSanitizer: undefined-behavior /Users/builder/external/VTK/Charts/Core/vtkPlotPoints.cxx:612:42 in
This comes from lines 61-63 here: https://gitlab.kitware.com/vtk/vtk/-/blob/master/Charts/Core/Testing/Cxx/TestLinePlotDouble.cxx
I followed this down the rabbit hole, but it needs someone that knows these classes. ex:
lines 604-627 (and elsewhere!) have various hardcoded expectations that the data is always
float, there doesn't seem to be any support for
double. There isn't even an
Or maybe the test should just be changed to use smaller numbers?