Skip to content

Commit

Permalink
Fix #2.
Browse files Browse the repository at this point in the history
  • Loading branch information
salu133445 authored Apr 7, 2018
1 parent afff439 commit 40b9820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypianoroll/multitrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ def parse_pretty_midi(self, pm, mode='sum', algorithm='normal',

# get tempo change event times and contents
tc_times, tempi = pm.get_tempo_changes()
arg_sorted = np.argsort(tc_times.argsort)
arg_sorted = np.argsort(tc_times)
tc_times = tc_times[arg_sorted]
tempi = tempi[arg_sorted]

Expand Down

0 comments on commit 40b9820

Please sign in to comment.