• greensea's avatar
    Fix a segment fault issue in cascade classfier · 52c727f0
    greensea authored
    work_var_count and sample_count are both 32bit integer, if the product of work_var_count and sample_count is bigger than 2^31, the compiler will treat (work_var_count*sample_count) as a negative number. Force work_var_count as an unsigned 64bit integer to avoid this issue.
    52c727f0
old_ml_boost.cpp 65.7 KB