uche, 30.01.2010 20:18:
> I got another problem after changing / to // . Yes, I am using 3.1.
> 
>     W.append(exp(sign * 2j * pi * i // N))
> TypeError: can't take floor of complex number.

Don't change it everywhere, just where it deals with integers. In the
above, "/" is perfectly right.

Stefan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to