• 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
dlib Loading commit data...
docs Loading commit data...
examples Loading commit data...
tools Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...