MantisBT - JANA | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000305 | JANA | Bug | public | 2013-03-07 10:20 | 2013-03-11 16:17 |
Reporter | davidl | ||||
Assigned To | davidl | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Summary | 0000305: Configuration Parameters not consistent between threads + NaN | ||||
Description | This is a bug exposed by some code Paul M. wrote. There are actually 2 issues: 1. The first thread to call SetDefaultParameter will not alter the contents of the reference variable so that it is left untouched. Subsequent threads will copy in a value that has undergone a conversion to and from a string so that it may not be identical to the original for floating point values. To fix this, the call that creates the parameter should also convert to/from a string so that the value returned is the same as is used by all other threads. Because this may change a value that the user has set to a high number of decimal places, a mechanism can be included to check that the converted value is exactly the same as original. If it is not, then an appropriate warning should be printed. 2. If the value passed in as the default value happens to be NaN or INF, then the conversion to and from a string will result in a value of "0". This should be handled by either treating these values as errors, or restoring them to a value of NaN or (INF). | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-03-07 10:20 | davidl | New Issue | |||
2013-03-11 16:17 | davidl | Note Added: 0000465 | |||
2013-03-11 16:17 | davidl | Status | new => resolved | ||
2013-03-11 16:17 | davidl | Resolution | open => fixed | ||
2013-03-11 16:17 | davidl | Assigned To | => davidl |
Notes | |||||
|
|||||
|
|