Skip to content

Commit

Permalink
Fix Silence issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yamachu committed Jan 30, 2018
1 parent 3e257ff commit aa9b1f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/harvest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -983,9 +983,9 @@ static void FixStep3(const double *f0_step2, int f0_length,
Extend(multi_channel_f0, number_of_boundaries / 2, f0_length,
boundary_list, f0_candidates, number_of_candidates, allowed_range,
multi_channel_f0, boundary_list);

MergeF0(multi_channel_f0, boundary_list, number_of_channels, f0_length,
f0_candidates, f0_scores, number_of_candidates, f0_step3);
if (number_of_channels != 0)
MergeF0(multi_channel_f0, boundary_list, number_of_channels, f0_length,
f0_candidates, f0_scores, number_of_candidates, f0_step3);

for (int i = 0; i < number_of_boundaries / 2; ++i)
delete[] multi_channel_f0[i];
Expand Down

0 comments on commit aa9b1f0

Please sign in to comment.