Use sum_ vs sum

pull/331/head
Joran Honig 6 years ago
parent b30e70235c
commit aa0f6064d5
  1. 2
      mythril/laser/ethereum/svm.py

@ -138,5 +138,5 @@ class LaserEVM:
@property @property
def coverage(self): def coverage(self):
return reduce(lambda sum, val: sum + 1 if val else sum, self.instructions_covered) / float( return reduce(lambda sum_, val: sum_ + 1 if val else sum_, self.instructions_covered) / float(
len(self.instructions_covered)) * 100 len(self.instructions_covered)) * 100

Loading…
Cancel
Save