On Sat, 30 Oct 2010 00:07:13 -0700, Paul Ivanov <[email protected]> wrote: > Andreas Kloeckner, on 2010-10-30 02:11, wrote: > > > The argument to ceil was inf, because step was 0.0, since on line > > > 63 of test_clmath, the step argument was passed as (b-a)/s with > > > all a,b,s all ints, and s>(b-a), hence the troubles. > > > > Me no understand still. test_clmath uses 'from __future__ import > > division', and I thought that this automatically makes all the integer > > division rubbish go away. Why not here? > > test_clmath actually does not have the __future__ import line, > adding it on top of the changeset that was previously failing for > me fixes all errors, as well. another mystery solved. :)
Hah! I just understood something. :) I ran the tests and the examples through 2to3 to make them 3-compatible, and this brutally murdered the 'from __future__' import. Fixed. Andreas
pgptRq5I0BvlG.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
