fixed stupid bug in the ctrl quantizer
This commit is contained in:
parent
328e245bd2
commit
3861615d33
1 changed files with 2 additions and 2 deletions
|
@ -2407,8 +2407,8 @@ impl CtrlPitchQuantizer {
|
||||||
pub fn update_keys(&mut self, mut mask: i64, min_oct: i64, max_oct: i64) {
|
pub fn update_keys(&mut self, mut mask: i64, min_oct: i64, max_oct: i64) {
|
||||||
let inp_params =
|
let inp_params =
|
||||||
(mask as u64)
|
(mask as u64)
|
||||||
| ((min_oct as u64) << 8)
|
| ((min_oct as u64) << 12)
|
||||||
| ((max_oct as u64) << 16);
|
| ((max_oct as u64) << 20);
|
||||||
|
|
||||||
if self.input_params == inp_params {
|
if self.input_params == inp_params {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue