commit | ef665996ae59a43575272449d0120a67457a7856 | [log] [tgz] |
---|---|---|
author | Yaowu Xu <yaowu@google.com> | Wed Jun 22 10:41:52 2016 -0700 |
committer | Yaowu Xu <yaowu@google.com> | Wed Jun 22 17:55:14 2016 +0000 |
tree | f5e540eeae59e7b2643a92d0df46635d0a20e254 | |
parent | b3933e2d3ccf0de83441eac9d22a145c20ac6803 [diff] |
Prevent negative variance Due to rounding used computation, HDB variance computation may produce slightly negative values. This commit adds clamping to make sure output variance values for 10 and 12 to be non-negative. Change-Id: Id679aa55a4c201958c4c7d28cd8733b9246a71c8