No, this is my fault for being lazy. I only work with exact coordinates, so I did not extensively test with floats. I will try to fix this soon.
-M. Hampton On Sep 3, 10:46 am, dghersi <[EMAIL PROTECTED]> wrote: > Dear All, > > I have a question related to the polyhedra module. > When I define a polyhedron using float rather than integer > coordinates, I get a weird behavior from the vert_to_ieq function. > For example, if I type something like this: > > p = [[1.1, 2.2], [3.3, 4.4]] > vert_to_ieq(p, cdd_type="real") > > I get an object that contains just one vertex, namely [0, 0, 0] > On the other hand, if I use integer coordinates everything is fine. > Am I doing something wrong? > > (I am running sage version 3.1.1 on a Mac Pro (Intel) using the > precompiled binary.) > > Thank you very much, > > Dario --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
