Skip to content

Commit

Permalink
Removed unnecessary parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
d0vs committed Dec 31, 2011
1 parent fc73b77 commit cd542b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bugspots.py
Expand Up @@ -73,7 +73,7 @@ def get_hot_spots(self):
repo_age = int(time.time()) - first_commit_time

for commit in commits:
ti = ((commit["time"] - first_commit_time) / repo_age)
ti = (commit["time"] - first_commit_time) / repo_age

for filename in commit["filenames"]:
scores[filename] += 1 / (1 + math.exp(-12 * ti + 12))
Expand Down

0 comments on commit cd542b6

Please sign in to comment.