Skip to content
  • Kyle Lutz's avatar
    Add asserts to vtkDataArrayTemplate Set/GetValue() · bc424e27
    Kyle Lutz authored
    This adds asserts which will trigger when invalid indices are
    pass to the GetValue() and SetValue() methods in the
    vtkDataArrayTemplate class. This causes tests which access invalid
    elements of a vtkDataArray to fail with an assert. Previously these
    types of errors would only be found by valgrind.
    
    Change-Id: I0bfc7de1453c871b55cfe87fba43f9095684fbee
    bc424e27