Skip to content

Commit

Permalink
Fix dither binding in Pybind11 to ensure independence from `high_fr…
Browse files Browse the repository at this point in the history
…eq` in `FeatureExtractorConfig` (#1739)
  • Loading branch information
jacklynblack authored Jan 20, 2025
1 parent a2650b7 commit b943341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sherpa-onnx/python/csrc/features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ static void PybindFeatureExtractorConfig(py::module *m) {
.def_readwrite("feature_dim", &PyClass::feature_dim)
.def_readwrite("low_freq", &PyClass::low_freq)
.def_readwrite("high_freq", &PyClass::high_freq)
.def_readwrite("dither", &PyClass::high_freq)
.def_readwrite("dither", &PyClass::dither)
.def("__str__", &PyClass::ToString);
}

Expand Down

0 comments on commit b943341

Please sign in to comment.