Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(532)

Issue 6546049: Prevent LinearRegression from dividing by zero (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by Stephen White
Modified:
12 years, 2 months ago
Reviewers:
bungeman
CC:
skia-reviews_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

.. so the GenerateBenchGraphs step doesn't blow up if the data is all zeroes. Also leave a skeletal main in bench_util.py as some semblance of a test case.

Patch Set 1 #

Patch Set 2 : remove spurious semicolon and unrelated file change #

Patch Set 3 : use denom in one more place #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -4 lines) Patch
M bench/bench_util.py View 1 2 2 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 3
Stephen White
12 years, 2 months ago (2012-09-20 19:00:03 UTC) #1
bungeman
LGTM
12 years, 2 months ago (2012-09-20 19:03:49 UTC) #2
Stephen White
12 years, 2 months ago (2012-09-20 19:54:27 UTC) #3
On 2012/09/20 19:03:49, bungeman wrote:
> LGTM

Landed as https://code.google.com/p/skia/source/detail?r=5615.  Closing.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b