Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Oct 24, 2024
1 parent aa6108c commit dccf714
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sherpa-onnx/csrc/offline-speaker-diarization-pyannote-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,11 @@ class OfflineSpeakerDiarizationPyannoteImpl
}
}

if (k != cur_row_index) {
auto seq = Eigen::seqN(0, cur_row_index);
ans = ans(seq, Eigen::all);
}

return ans;
}

Expand Down

0 comments on commit dccf714

Please sign in to comment.