Re: [sage-support] Re: NameError: name 'Integer' is not defined

2016-04-25 Thread robin hankin
Hi, I think I've resolved it: there was another notebook running in the background and once I killed that process (with 'kill') everything worked fine. But it'd be nice to document this somewhere so other people can google the problem. The sage I used was precompiled, the version was "SageMath

Re: [sage-support] Re: bug in numerical evaluation of symbolic expression

2016-04-25 Thread William Stein
On Mon, Apr 25, 2016 at 12:06 PM, Volker Braun wrote: > Presumable its because the RR nan doesn't correctly convert to the SR nan: > > sage: NaN.is_zero() > False > sage: SR(RR('nan')).is_zero() > True Related and confusing/wrong/inconsistent: sage: RR('nan').is_zero() True sage: RR('nan') == 0

[sage-support] Re: bug in numerical evaluation of symbolic expression

2016-04-25 Thread Volker Braun
Presumable its because the RR nan doesn't correctly convert to the SR nan: sage: NaN.is_zero() False sage: SR(RR('nan')).is_zero() True On Monday, April 25, 2016 at 7:40:39 PM UTC+2, William wrote: > > For a problem set I'm making today, I made up a random symbolic function, > then evaluated i

[sage-support] Poset Constructor

2016-04-25 Thread Sean Griffin
I am trying to construct the poset of set partitions of {1,2,...,n} ordered by refinement. I was working in SageCloud and followed the steps from here (just ctrl-F 'set partitions' and you'll find it): http://doc.sagemath.org/html/en/reference/combinat/sage/combinat/posets/posets.html#sage.combi

[sage-support] bug in numerical evaluation of symbolic expression

2016-04-25 Thread William Stein
For a problem set I'm making today, I made up a random symbolic function, then evaluated it and got confusing/inconsistent behavior. See below: ~$ sage-develop ┌┐ │ SageMath version 7.2.beta5, Release Date: 2016-04-21

[sage-support] Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-04-25 Thread Volker Braun
sagecell.makeSagecell is already polling to see whether it is loaded; thats of course totally fugly but should work. You just have to make sure that it is defined. If its only defined once a requirejs module loads then you don't have control over when. Instead move the window.sagecell = window.