[sage-devel] Re: PPL wrapper bug

2017-02-24 Thread jsommars
Thank you, yes, that is exactly what I thought == should give. My mistake, there is no problem. On Friday, February 24, 2017 at 4:23:19 PM UTC-6, Volker Braun wrote: > > sage: Cone1.__cmp__? > Signature: Cone1.__cmp__(right) > Docstring: >Compare "self" and "right". > >INPUT: >

[sage-devel] Re: PPL wrapper bug

2017-02-24 Thread Volker Braun
sage: Cone1.__cmp__? Signature: Cone1.__cmp__(right) Docstring: Compare "self" and "right". INPUT: * "right" -- anything. OUTPUT: * 0 if "self" and "right" are cones of any kind in the same lattice with the same rays listed in the same order. 1 or -1

[sage-devel] Re: PPL wrapper bug

2017-02-24 Thread Dima Pasechnik
On Friday, February 24, 2017 at 7:48:45 PM UTC, jsommars wrote: > > There seems to be a bug in the Parma Polyhedra Library wrapper. > Unfortunately, this is the simplest example I can come up with. > > A=Cone([[0,0,0,1,0],[0,0,1,0,0],[0,1,0,0,0],[1,1,1,1,1],[-1,-1,-1,-1,-1]]) > >