NaN in SciFi PR tracks
11 April 2014
SciFiHelicalPRTrack::_chisq_dof is sometimes NaN and gets written to the json output as a nan
When one tries to use this as an input, the JSON parser thinks nan is a string, but since it's not encapsulated within quotes, the decoding fails.
See Issue #1453 and see attached example of offending json
If the fit fails or if n_points is 0, chisq_dof should be set to some nonsense value instead of letting it remain not-a-number
Should probably also check if there are other potential NaN sources
Updated by Dobbs, Adam almost 9 years ago
Should now be fixed in tracker branch. Waiting for merge to trunk.
Updated by Rajaram, Durga almost 9 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100