Skip to content

Commit

Permalink
Corrects a bug with bar brawl
Browse files Browse the repository at this point in the history
  • Loading branch information
pushkar3 committed Nov 12, 2017
1 parent 4451c69 commit aab68ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assignment/hw_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def check_bar_brawl(s):
s.score = max_score/2.0
else:
if len(err) > 100:
s.score = 10.0
s.score = 1.0
else:
s.score = bar_brawl_score(max_score, len(err))
s.comments = str(len(err)) + " values are wrong."
Expand Down

0 comments on commit aab68ad

Please sign in to comment.