Skip to content

BUG: Enabled floating point exceptions for tests

Bill Lorensen requested to merge lorensen/vtk:DivideByZero_1 into master

The dymanic analysis tests have uncovered a number of floating point exceptions, mainly divide by zero. This MR enables floayting point exceptions if tests are built with a debug build type and the comp=iler is a gnu compiler.

Excetions arenonly enabled for gnu compilers.

Safety guards have been added to classes that exhibited exceptions.

Merge request reports