Jan,

This happens if (and only if?) you have the optional database
installed, since then calls to E.gens() return the database generators
rather than computing them.

I just report this to Robert Miller since heegner.py is the only file
with this behaviour now (there used to be a lot more).  So it is
harmless and will go away one day soon.

In fact I already fixed all but two of the problem places as part of a
patch I put up at #6390 yesterday;  but there remain two (the
[g.alpha() for g in G] ones) which I hope Robert will fix.

John

On 21 March 2010 13:04, Jan Groenewald <j...@aims.ac.za> wrote:
> Hi
>
> Installed  Sage 4.3.4 on 643bit Ubuntu 9.04 jaunty from source, with optional 
> packages:
>
>   0 r...@muizenberg:/usr/local/src/sage-4.3.4/spkg#ls optional/ huge
>   huge:
>   README.txt  stein-watkins-ecdb.spkg  stein-watkins-ecdb.spkg.md5
>
>   optional/:
>   biopython-1.53.p0.spkg                      database_kohel-20060803.spkg    
>    database_symbolic_data-20070206.spkg
>   database_cremona_ellcurve-20071019.p0.spkg  database_odlyzko_zeta.spkg      
>    gap_packages-4.4.12_2.spkg
>   database_gap-4.4.12.spkg                    
> database_sloane_oeis-2005-12.spkg  jsmath-image-fonts-1.4.p3.spkg
>   database_jones_numfield-v4.spkg             database_stein_watkins_mini.spkg
>
> and a local patch to 
> devel/sage-AIMS-autosave-patch/sage/server/notebook/user_conf.py
> (I set max_history_length to 10, not 1000, and autosave_interval to 120*60, 
> not 60*60).
> and I sage -b AIMS-autosave-patch.
>
> Once done I did:
>
>   make test
>
> gives
>
>      ----------------------------------------------------------------------
>      The following tests failed:
>
>
>              sage -t  "devel/sage/sage/schemes/elliptic_curves/heegner.py"
>      Total time for all tests: 4492.7 seconds
>      Please see /root/.sage//tmp/test.log for the complete log from this test.
>
>   and from the test.log:
>
>   sage -t  "devel/sage/sage/schemes/elliptic_curves/heegner.py"
>   **********************************************************************
>   File 
> "/usr/local/src/sage/devel/sage/sage/schemes/elliptic_curves/heegner.py", 
> line 71:
>       sage: E.gens()
>   Expected:
>       [(1 : 1 : 1)]
>   Got:
>       [(1 : -1 : 1)]
>   **********************************************************************
>   File 
> "/usr/local/src/sage/devel/sage/sage/schemes/elliptic_curves/heegner.py", 
> line 73:
>       sage: -3*E.gens()[0]
>   Expected:
>       (0 : 1 : 1)
>   Got:
>       (0 : -1 : 1)
>   **********************************************************************
>   File 
> "/usr/local/src/sage/devel/sage/sage/schemes/elliptic_curves/heegner.py", 
> line 3576:
>       sage: E.gens()
>   Expected:
>       [(2 : 1 : 1)]
>   Got:
>       [(2 : -2 : 1)]
>   **********************************************************************
>   File 
> "/usr/local/src/sage/devel/sage/sage/schemes/elliptic_curves/heegner.py", 
> line 3586:
>       sage: 2*E.gens()[0]
>   Expected:
>       (1 : 0 : 1)
>   Got:
>       (1 : -1 : 1)
>   **********************************************************************
>   File 
> "/usr/local/src/sage/devel/sage/sage/schemes/elliptic_curves/heegner.py", 
> line 6211:
>       sage: 6*E.gens()[0]
>   Expected:
>       (6 : -15 : 1)
>   Got:
>       (6 : 14 : 1)
>   **********************************************************************
>   File 
> "/usr/local/src/sage/devel/sage/sage/schemes/elliptic_curves/heegner.py", 
> line 1409:
>       sage: [g.alpha() for g in G]
>   Expected:
>       [1, 1/2*sqrt_minus_52 + 1, -1/2*sqrt_minus_52, 1/2*sqrt_minus_52 - 1]
>   Got:
>       [1, -1/2*sqrt_minus_52 - 1, -1/2*sqrt_minus_52, 1/2*sqrt_minus_52 - 1]
>   **********************************************************************
>   File 
> "/usr/local/src/sage/devel/sage/sage/schemes/elliptic_curves/heegner.py", 
> line 1415:
>       sage: sorted([g.alpha() for g in G])
>   Expected:
>       [1, -1/2*sqrt_minus_52, 1/2*sqrt_minus_52 + 1, 1/2*sqrt_minus_52 - 1, 
> 1/2*sqrt_minus_52 - 2, -1/2*sqrt_minus_52 - 2]
>   Got:
>       [1, -1/2*sqrt_minus_52, -1/2*sqrt_minus_52 - 1, 1/2*sqrt_minus_52 - 1, 
> 1/2*sqrt_minus_52 - 2, -1/2*sqrt_minus_52 - 2]
>   **********************************************************************
>   **********************************************************************
>   4 items had failures:
>      2 of  35 in __main__.example_0
>      2 of  11 in __main__.example_142
>      1 of   7 in __main__.example_225
>      2 of  10 in __main__.example_55
>   ***Test Failed*** 7 failures.
>   For whitespace errors, see the file /root/.sage//tmp/.doctest_heegner.py
>            [57.5 s]
>
> regards,
> Jan
> --
>   .~.
>   /V\     Jan Groenewald
>  /( )\    www.aims.ac.za
>  ^^-^^
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>
> To unsubscribe from this group, send email to 
> sage-devel+unsubscribegooglegroups.com or reply to this email with the words 
> "REMOVE ME" as the subject.
>

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-devel+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to