04.02.2013 22:11, Nils Wagner kirjoitti: [clip: patch] M = int(M) on top of the routine would do the same thing. However, it probably should raise an error, not truncate, when M is not an integer. -- Pauli Virtanen