Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -74,7 +74,10 @@ class aubio_pvoc_test_case(TestCase): · 73 unmodified lines | |||
| 74 | r2 = f.rdo( f(sigin) ) | 74 | r2 = f.rdo( f(sigin) ) |
| 75 | for i in range(1, ratio): | 75 | for i in range(1, ratio): |
| 76 | r2 = f.rdo( f(zeros) ) | 76 | r2 = f.rdo( f(zeros) ) |
| 77 | return r2 | 77 | |
| 78 | # FIXME: if we don't return a copy here, test_phasevoc.py will crash | ||
| 79 | # once in a while | ||
| 80 | return np.copy(r2) | ||
| 78 | 81 | ||
| 79 | def plot_this( self, this ): | 82 | def plot_this( self, this ): |
| 80 | from pylab import semilogy, show | 83 | from pylab import semilogy, show |