[filterbank] fix get_power
authorPaul Brossier <piem@piem.org>
Mon, 3 Dec 2018 14:04:02 +0000 (15:04 +0100)
committerPaul Brossier <piem@piem.org>
Mon, 3 Dec 2018 14:04:02 +0000 (15:04 +0100)
src/spectral/filterbank.c

index fb82ec0..e82d93d 100644 (file)
@@ -130,5 +130,5 @@ aubio_filterbank_set_power (aubio_filterbank_t *f, smpl_t power)
 smpl_t
 aubio_filterbank_get_power (aubio_filterbank_t *f)
 {
-  return f->norm;
+  return f->power;
 }