DESCRIPTION

Fix histogram calculation when sample is not >0

Change-Id: I0eeeb2b854cc92674ff20a39e9d02886159c94f4


COMMENTS

author: Reid Stokes
date: 2011-12-05 23:33:14.466000000

Patch Set 1: Verified



-------------------------------------
author: Reid Stokes
date: 2011-12-05 23:34:00.963000000

Patch Set 1:

I got the following error:- 

 File "pytests/performance/mcsoda.py", line 344, in histo_bucket
    p = 10 ** (math.floor(math.log10(samp)) - (hp - 1))
ValueError: math domain error

This should fix this.

-------------------------------------
author: Nora Conway
date: 2011-12-06 00:00:07.588000000

Patch Set 1: Looks good to me, approved



-------------------------------------
author: Nora Conway
date: 2011-12-06 00:00:07.892000000

Change has been successfully cherry-picked as 470c3b535bc2e197193ce16cbda32896a74e6e26.

-------------------------------------
