Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HistogramStat: Handle divide by zero situation
Summary: The num() might return cur_num as 0 and we are making sure that cur_num will not be 0 down the path. The mult variable is being set to 100.0/cur_num which makes program crash when cur_num is 0. Closes facebook#3105 Differential Revision: D6222594 Pulled By: ajkr fbshipit-source-id: 986154709897ff4dbbeb0e8aa81eb8c0b2a2db76
- Loading branch information