- fixed wrong values in interpolation for YIN estimator
- fixed wrong values in interpolation for YIN estimator
git-svn-id: https://lampka.siedziba.pl:790/svn/repos/lingot-win32@311 455248ca-bdda-0310-9134-f4ebb693071a
diff --git a/src/lingot-yin.c b/src/lingot-yin.c
index 617f625..05eaa59 100644
--- a/src/lingot-yin.c
+++ b/src/lingot-yin.c
@@ -70,5 +70,5 @@ FLT yin(LingotCore* core) {
tau_min = tau - 1;
}
}
- return (FLT)tau_min + yin_interpolate_tau(dpt_left, dpt_center, dpt_right);
+ return (FLT)tau_min + yin_interpolate_tau(dpt_min_left, dpt_min, dpt_min_right);
}