Skip to content

Commit

Permalink
fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Cartucho committed May 3, 2018
1 parent 8fdfd16 commit fc35357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def voc_ap(rec, prec):
rec.append(1.0) # insert 1.0 at end of list
mrec = rec[:]
prec.insert(0, 0.0) # insert 0.0 at begining of list
prec.append(0.0) # insert 1.0 at end of list
prec.append(0.0) # insert 0.0 at end of list
mpre = prec[:]
# matlab indexes start in 1 but python in 0, so I have to do:
# range(start=(len(mpre) - 2), end=0, step=-1)
Expand Down

0 comments on commit fc35357

Please sign in to comment.