Re: [sage-devel] Polyhedron.vertices() function call behaviour

2019-04-11 Thread John H Palmieri
Can you provide details of how you created the polyhedron? As David said, Q.vertices() should make a copy before returning the result, and I would like to recreate this so I can fix it. On Thursday, April 11, 2019 at 9:21:42 PM UTC-7, Narayanan Narayanan wrote: > > Thank you David. Using

Re: [sage-devel] Polyhedron.vertices() function call behaviour

2019-04-11 Thread Narayanan Narayanan
Thank you David. Using deepcopy seems to solve the issue if I make a separate copy after the call. But as you mentioned, the return of function should be a copy object. regards narayanan On Thursday, 11 April 2019 12:32:23 UTC+5:30, David Roe wrote: > > You probably want deepcopy. That being

[sage-devel] Re: a small special purpose class for tensor products of symmetric functions

2019-04-11 Thread 'Martin R' via sage-devel
I think I found out. There is an assertion in `tensor_constructor` which is too strict, and `plethysm` should return an element of the parent, not of the tensor product. I'll open a ticket. Martin """ sage: S = SymmetricFunctions(QQ) sage: S.inject_shorthands() sage: t = tensor([s[1,1],

[sage-devel] Ubuntu 18.04 tarball trouble (patching failed)

2019-04-11 Thread Vincent Delecroix
Dear all, On gitlab CI, I encountered a weird problem with the tarball sage-8.7-Ubuntu_18.04-i686.tar.bz2 downloaded from the mirror. The first time sage is launched it patches sources and fails with /builds/videlec/surface_dynamics/SageMath/build/bin/sage-python23: line 31:

Re: [sage-devel] Build fails: Sage 8.7 on Centos 6.10 x64

2019-04-11 Thread E. Madison Bray
On Wed, Apr 10, 2019 at 11:37 PM richr410 via sage-devel wrote: > > oh easy - well... > 1) the installed vendor gcc is 4.4.7 > 2) it does this by itself - I didnt ask it too - plain "make" is doing this. > 3) I have: > a) gcc-4.4.7-23.el6.x86_64 > b) gcc-gfortran-4.4.7-23.el6.x86_64 >

Re: [sage-devel] k-choosability and k-degeneracy of graphs on SageMath

2019-04-11 Thread Jean-Florent Raymond
Hello, If you already have working code for this, the answer Erik recently gave to a similar question (about Turing machines) may be relevant. I paste it below: Forwarded Message Subject: Re: [sage-devel] Adding Turing Machines Date: Mon, 8 Apr 2019 18:50:34 +0200 From: E.

[sage-devel] Re: k-choosability and k-degeneracy of graphs on SageMath

2019-04-11 Thread 'Martin R' via sage-devel
I don't know, but perhaps http://www.findstat.org/StatisticsDatabase/St001277 is helpful. Martin Am Donnerstag, 11. April 2019 07:48:11 UTC+2 schrieb Fares Sellaouti: > > Hi all, > > For my master project i am asked to study the k-choosability of graph > following the Alon-Tarsi criterias ( >

Re: [sage-devel] Polyhedron.vertices() function call behaviour

2019-04-11 Thread David Roe
You probably want deepcopy. That being said, Q.vertices should probably also make a copy before returning the result. David On Thu, Apr 11, 2019 at 1:48 AM Narayanan Narayanan wrote: > > I have recently created a Polyhedron Q that corresponts to the cuts of a > graph. > > Once I have Q, I