Opened 9 years ago
Last modified 9 years ago
#9533 new Bugs
boost::accumulators::weighted_median different results for debug and release modes
Reported by: | Owned by: | Matthias Troyer | |
---|---|---|---|
Milestone: | To Be Determined | Component: | accumulator |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I have a different results for debug and release modes. Look at readme and example in
https://github.com/aurusov/boost_accumulators_weighted_median_error
Change History (1)
Note:
See TracTickets
for help on using tickets.
Matthias, can you comment? I know that the P2 algorithm requires *far* more samples than is being provided here for any reasonable accuracy, but I can't fathom why the result should be different for different optimization levels. I don't believe gcc does unsafe floating point optimizations unless you specifically tell it to. Or am I mistaken about that?