nitime icon indicating copy to clipboard operation
nitime copied to clipboard

TypeError: ufunc 'true_divide' output (typecode 'd') could not be coerced to provided output parameter (typecode 'l') according to the casting rule ''same_kind''

Open igor-raits opened this issue 10 years ago • 3 comments


======================================================================
ERROR: Testing the initialization of the uniform time series object
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILD/nitime-rel-0.5/nitime/tests/test_timeseries.py", line 545, in test_TimeSeries
    tseries2 /= 2
  File "/builddir/build/BUILD/nitime-rel-0.5/nitime/timeseries.py", line 1021, in __idiv__
    self.data.__itruediv__(other)
TypeError: ufunc 'true_divide' output (typecode 'd') could not be coerced to provided output parameter (typecode 'l') according to the casting rule ''same_kind''

igor-raits avatar Oct 30 '15 19:10 igor-raits

Thanks for reporting this. I can see this on my machine as well. Must be related to recent changes on numpy.

arokem avatar Oct 30 '15 19:10 arokem

Does #135 resolve this for you?

arokem avatar Oct 30 '15 20:10 arokem

@arokem, yes it fixes.

igor-raits avatar Oct 30 '15 20:10 igor-raits