From 312b57ac25e083c890c9dd01a25e9313d3068f0b Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 3 Mar 2016 12:43:30 +0100 Subject: Remove unused variable --- monkey/edits.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'monkey') diff --git a/monkey/edits.py b/monkey/edits.py index 1743864..56bf773 100644 --- a/monkey/edits.py +++ b/monkey/edits.py @@ -157,11 +157,9 @@ def get_edits_from_solutions(solutions, test): del edits[edit] n_start = collections.Counter() - n_start_all = 0 for (path, a, b), uids in edits.items(): edits[(path, a, b)] = (len(uids), uids) n_start[(path, a)] += len(uids) - n_start_all += len(uids) # Find the probability of each edit a → b. new_edits = {} -- cgit v1.2.1