Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Oct 26, 2024
1 parent 4f45ae3 commit 758a9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sherpa-onnx/csrc/offline-stream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class OfflineStream::Impl {
resampler->Resample(waveform, n, true, &samples);

if (is_moonshine_) {
samples_.insert(samples_.end(), samples_.begin(), samples.end());
samples_.insert(samples_.end(), samples.begin(), samples.end());
} else if (fbank_) {
fbank_->AcceptWaveform(config_.sampling_rate, samples.data(),
samples.size());
Expand Down

0 comments on commit 758a9de

Please sign in to comment.