For some combination of sets of data, by program fails to converge.
I have determined that some variables end up with NaN.
My program doesn't stop when I'm using /fpe:0
Any ideas how to catch where this NaNny hitchhiker gets on?
Since this is a DLL called from Excel, I need to drive the inputs from Excel. I have discovered that I need to run the program with one set of inputs (all breakpoints turned off), then change the inputs in a specific way, and the next call reports failed values, in part of the code running to the iteration limit of 1000 iterations. I assume that the NaN occurs somewhere in or before this section of code, but stepping through the iterations is too lengthy. I thought that /fpe:0 would flag when the error occurs, but the program doesn't break, just returns the bad data to Excel.