[sage-support] Bug in canonical_height for dynamical systems?

2023-06-06 Thread dkrumm
The following few lines lead to a crash in Sage 10.0, with error message "TypeError: Not an element of the order." Is this an error on my part? K. = NumberField(3*x^2 + 1) P. = ProjectiveSpace(K, 1) phi = DynamicalSystem_projective([a*(z^2 + w^2),z*w]) phi.canonical_height(P(a,1)) -- David --

[sage-support] Subgroups of class group

2012-01-25 Thread dkrumm
How can one create a subgroup of the ideal class group of a number field by specifying a list of ideals to use as generators? I've tried using the subgroup commands, with no success. Any help would be much appreciated. -- To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: Indexing by elements of a list

2011-09-03 Thread dkrumm
The dictionary is exactly what I needed. Thanks! On Sep 3, 3:56 am, Simon King simon.k...@uni-jena.de wrote: Hi dkrumm, On 3 Sep., 09:33, dkrumm dkr...@uga.edu wrote: Is there a data structure in Python that would allow me to do the following: I have a list of positive integer pairs

[sage-support] Re: Can't build sage library

2011-09-01 Thread dkrumm
Great! So it looks like maybe it'll be working soon. On Aug 31, 11:00 pm, Maarten Derickx m.derickx.stud...@gmail.com wrote: Ok, I re asked the question on sage devel. Seehttps://groups.google.com/forum/#!forum/sage-develfor the most recent status. -- To post to this group, send email to

[sage-support] Re: Can't build sage library

2011-08-31 Thread dkrumm
Thanks! I did that and it's working now. On Aug 31, 3:37 am, Robert Bradshaw rober...@math.washington.edu wrote: On Tue, Aug 30, 2011 at 3:08 PM, dkrumm dkr...@uga.edu wrote: I just made a new installation of Sage 4.7.1 and I tried to build the library (although I haven't made any changes

[sage-support] Re: Can't build sage library

2011-08-31 Thread dkrumm
/darwin_memory_usage.c:4: /usr/include/mach/task_info.h:252: error: expected specifier-qualifier- list before ‘vm_extmod_statistics_data_t’ error: command 'gcc' failed with exit status 1 sage: There was an error installing modified sage library code. What could still be wrong? On Aug 31, 1:13 pm, dkrumm dkr

[sage-support] Re: Can't build sage library

2011-08-31 Thread dkrumm
OK, yes, I'm running Lion with Xcode 4. On Aug 31, 1:29 pm, Maarten Derickx m.derickx.stud...@gmail.com wrote: Is it on a OS X lion machine or is the xcode version 4? Because it is known currently that building sage does not work well with those yet. Search sage-devel for xcode 4 and lion or

[sage-support] Re: Bug in global_height

2011-08-31 Thread dkrumm
, August 30, 2011 11:51:12 PM UTC+2, dkrumm wrote: Thanks, Maarten. I'm getting stuck when I run hg_sage.commit() . I do not get a text editor to open as described in the links you gave me. Instead, I get the same info as when I ran hg_sage.diff(), just a list of the changes I made. Any idea

[sage-support] Re: Bug in global_height

2011-08-31 Thread dkrumm
Unfortunately, I can't do these sorts of tests because I can't rebuild the sage library on my machine right now. However, the only change I made to the height function was a couple of parentheses, so the functionality should not be affected in any way, only the output. On Aug 31, 6:19 pm, Maarten

[sage-support] Re: Bug in global_height

2011-08-30 Thread dkrumm
Thanks, Maarten. I'm getting stuck when I run hg_sage.commit() . I do not get a text editor to open as described in the links you gave me. Instead, I get the same info as when I ran hg_sage.diff(), just a list of the changes I made. Any idea of why this might happen? On Aug 30, 8:47 am, Maarten

[sage-support] Can't build sage library

2011-08-30 Thread dkrumm
I just made a new installation of Sage 4.7.1 and I tried to build the library (although I haven't made any changes to it). I get this error message: Building Sage on OS X in 64-bit mode Creating SAGE_LOCAL/lib/sage-64.txt since it does not exist Detected SAGE64 flag Building Sage on OS X in

[sage-support] Bug in global_height

2011-08-29 Thread dkrumm
There is a problem with the global_height function for elements of number fields. The fix would be very simple, just need to add two parentheses to the code. Below is an example of the problem. I'm running Sage version 4.7 on Mac OS X version 10.6.8. sage: K.s = QuadraticField(2) sage: