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