[SciPy-Dev] Patch for scipy/signal/windows.py

Pauli Virtanen pav at iki.fi
Mon Feb 4 15:40:24 EST 2013


04.02.2013 22:19, Pauli Virtanen kirjoitti:
> 04.02.2013 22:11, Nils Wagner kirjoitti:
> [clip: patch]
> 
> M = int(M)
> 
> on top of the routine would do the same thing.

Ok, I'm wrong --- this is due to `type(4/2) is float`.
The division operations should be replaced by //

-- 
Pauli Virtanen




More information about the SciPy-Dev mailing list