Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1844)

Unified Diff: appengine/findit/crash/suspect.py

Issue 2595263003: [Predator] Making the Y sets conditional for loglinear models (Closed)
Patch Set: minor clarification in crash/suspect.py Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/crash/loglinear/training.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/crash/suspect.py
diff --git a/appengine/findit/crash/suspect.py b/appengine/findit/crash/suspect.py
index edc8bf5a0486046edb379cff56d5b9a208628269..a87117430f63012d98042b99a3f89a96653eda3e 100644
--- a/appengine/findit/crash/suspect.py
+++ b/appengine/findit/crash/suspect.py
@@ -122,7 +122,7 @@ def _UpdateSuspect(suspect, file_path, stack_infos, blame):
return
min_distance = float('inf')
- min_distance_frame = stack_infos[0][0]
+ min_distance_frame = stack_infos[0].frame
for region in blame:
if region.revision != suspect.changelog.revision:
continue
« no previous file with comments | « appengine/findit/crash/loglinear/training.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698