33edcc940d
There are several switch statements in ParametricCoordinates.h that have a default clause that is an error condition. The code was simply calling the RaiseError method on the worklet before quiting. Although the behavior is supposed to be similar to throwing an exception, flow actually does still continue. These error default clauses kept going without breaking from the switch or initializing the variables the method is supposed to set. Although the values should not matter once the error is raised, I was getting compiler warnings about it. It's also bad practice as certain NaN values can cause the program to signal out, so it is best to set the data to something. |
||
---|---|---|
.. | ||
arg | ||
cuda | ||
internal | ||
testing | ||
Assert.h | ||
CellDerivative.h | ||
CellInterpolate.h | ||
CMakeLists.txt | ||
ConnectivityExplicit.h | ||
ConnectivityStructured.h | ||
ExecutionObjectBase.h | ||
ExecutionWholeArray.h | ||
FunctorBase.h | ||
NewtonsMethod.h | ||
ParametricCoordinates.h |