Skip to content

Commit b943341

Browse files
authored
Fix dither binding in Pybind11 to ensure independence from high_freq in FeatureExtractorConfig (#1739)
1 parent a2650b7 commit b943341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sherpa-onnx/python/csrc/features.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ static void PybindFeatureExtractorConfig(py::module *m) {
1919
.def_readwrite("feature_dim", &PyClass::feature_dim)
2020
.def_readwrite("low_freq", &PyClass::low_freq)
2121
.def_readwrite("high_freq", &PyClass::high_freq)
22-
.def_readwrite("dither", &PyClass::high_freq)
22+
.def_readwrite("dither", &PyClass::dither)
2323
.def("__str__", &PyClass::ToString);
2424
}
2525

0 commit comments

Comments
 (0)