[sage-devel] spherical harmonics still broken in 9.5.beta8

2022-01-04 Thread Jonathan Thornburg
spin_weighted_spherical_harmonic(0, ell,emm, theta,phi), theta) fails. -- -- "Jonathan Thornburg [remove color- to reply]" on the west coast of Canada, eh? "There was of course no way of knowing whether you were being watched at any given moment. How often, or on what sys

Re: [sage-devel] Re: spherical harmonics still broken in 9.5.beta8

2022-01-05 Thread Jonathan Thornburg
l > harmonics, since this is standard in quantum mechanics and this would make > Sage agree with Wikipedia and Mathematica. +1 on this. > I've opened > https://trac.sagemath.org/ticket/33117 > for this. -- -- "Jonathan Thornburg [remove color- to reply]" on t

[sage-devel] Python-level error messages don't give the source file name

2022-01-08 Thread Jonathan Thornburg
ot good. To reproduce this problem, create the following 2 files: % head error* ==> error1.sage <== load('error2.sage') print bad_function(2, 3) ==> error2.sage <== def bad_function(x,y) """ Note the missing ':' at the end of the first line of this

Re: [sage-devel] Python-level error messages don't give the source file name

2022-01-08 Thread Jonathan Thornburg
loads all the individual files. This works fine apart from the un-helpful error messages when (not if, *when*) I have bugs in my code. Is there a more idiomatic way? -- -- "Jonathan Thornburg [remove color- to reply]" on the west coast of Canada, eh? "There was of course no

[sage-devel] ECL out of memory error

2022-01-08 Thread Jonathan Thornburg
f): TypeError: ECL says: Memory limit reached. Please jump to an outer pointer, quit program and enlarge the memory limits before executing the program again. sage: Exiting Sage (CPU time 90m12.99s, Wall time 90m16.79s). --- end full error traceback --- thanks, keep safe and COVID-free, -- -- "

[sage-devel] Solved Re: ECL out of memory error

2022-01-13 Thread Jonathan Thornburg
ess-size limit.) [[...]] For the archives: On further investigation it's clear I was wrong. I was indeed hitting an OS-level process-size limit, and increasing that limit resolved my problems. I'm sorry for the false problem report. -- -- "Jonathan Thornburg [remove color- to re

Re: [sage-devel] Re: spherical harmonics still broken in 9.5.beta8

2022-03-15 Thread Jonathan Thornburg
Hi Eric, On Mon, Mar 14, 2022 at 12:58:26PM -0700, Eric Gourgoulhon wrote: > The branch of the ticket https://trac.sagemath.org/ticket/33117 has been > merged in Sage 9.6.beta5, so in Sage 9.6 spherical harmonics will agree > with those of SymPy, SciPy, Mathematica and Wikipedia, and will have

Re: [sage-devel] Re: Democratic issue: rushing decisions

2022-10-06 Thread Jonathan Thornburg
larity by that veto. However, her caution was well founded, and she saved us from making a bad mistake. Thanks! As we reexamined the problem after the meeting, Doug McIlroy [[found a better solution]] -- -- "Jonathan Thornburg [remove -color to reply]" currently on the west c

Re: [sage-devel] Doubts about correctness of `integrate(floor(x)^2,x)`

2023-01-20 Thread Jonathan Thornburg
^{3/2}_0 = (3/2) \lfloor (3/2) \rfloor^2 - 0 \lfloor 0 \rfloor^2 = 3/2$ But it seems to me that the correct result should be $I = \int_0^{3/2} \lfloor x \rfloor^2 \, dx$ = \int_0^1 \lfloor x \rfloor^2 \, dx + \int_1^{3/2} \lfloor x \rfloor^2 \, dx = \int_0^1 0 \, dx + \int_1^{3/2} 1

[sage-devel] spherical harmonics still broken in 9.3.rc2

2021-04-08 Thread Jonathan Thornburg
/25034 is unlikely to be fixed for 9.3, should we perhaps put a note in the documentation for 9.3 that spherical harmonics are unreliable at present? -- -- "Jonathan Thornburg [remove -animal to reply]" Dept of Astronomy & IUCSS, Indiana University, Bloomington, Indiana, USA cur