ref: 98e9d69fde9bc4265cda079a558b566d37551033
parent: 69378423f4a682b69967cced95339cb0613e3c36
author: Paul Brossier <piem@piem.org>
date: Thu Apr 28 15:33:31 EDT 2016
python/tests/test_phasevoc.py: add a note about ocasional crash
--- a/python/tests/test_phasevoc.py
+++ b/python/tests/test_phasevoc.py
@@ -74,7 +74,10 @@
r2 = f.rdo( f(sigin) )
for i in range(1, ratio):
r2 = f.rdo( f(zeros) )
- return r2
+
+ # FIXME: if we don't return a copy here, test_phasevoc.py will crash
+ # once in a while
+ return np.copy(r2)
def plot_this( self, this ):
from pylab import semilogy, show