• Davis King's avatar
    Changed the add_probability() method of joint_probability_table so · cbcb80bf
    Davis King authored
    it does a saturating add rather than a normal add.  This ensures the
    probability value stays exactly <= 1.  Previously, floating point
    rounding error could cause it to be slightly above 1 and would therefore
    cause some asserts to misfire during debugging mode.
    cbcb80bf
Name
Last commit
Last update
..
bayes_utils.h Loading commit data...
bayes_utils_abstract.h Loading commit data...