-
-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernize eclib library interface #19818
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
I have commented at the upstream Issue, but I would not call this a bug. The build system causes all the code to be compiled with a certain macro defined (namely NTL_ALL), and the code will not build without that flag being defined, but the build system does not allow any way for that macro not to be defined anyway! |
comment:3
Replying to @JohnCremona:
It's at least a documentation bug (it's not true that
Which "build system" are you talking about and why do you claim that "the build system does not allow any way for that macro not to be defined" |
comment:4
I am working on cleaning up the Cython interface to
|
comment:5
It seems that simply changing the order of |
This comment has been minimized.
This comment has been minimized.
comment:7
Replying to @jdemeyer:
I meant the auto tools stuff. does not allow any way for that macro not to be defined" There is no option to Configure which affects it. |
comment:8
The second output is wrong (the one where the matrix has a zero row ). moddata.h has nothing at all to do with elliptic curve isogenies! |
comment:9
Replying to @JohnCremona:
Still, simply including that file earlier breaks that doctest... |
This comment has been minimized.
This comment has been minimized.
Commit: |
New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:13
@jpflori: could you review this please? It is very similar in spirit to the NTL cleanup we did recently. |
comment:14
I agree that changing the name from sage.libs.mwrank is a good idea but why not change it to sage.libs.eclib ? |
comment:15
Replying to @JohnCremona:
First of all, tt's clear that all Do you prefer to change both to |
comment:16
Replying to @jdemeyer:
Yes I prefer that. eclib might outlive me! |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Jean-Pierre Flori |
comment:20
Looks ok to me. |
Changed branch from u/jdemeyer/modernize_eclib_library_interface to |
As part of cleaning up library interfaces, clean up
eclib
:Move all declarations for
eclib
library functions tosrc/sage/libs/eclib/__init__.pxd
.Use the C++ capabilities of Cython, in particular use
cdef cppclass
.Move (with deprecation) the library interface from
src/sage/libs/mwrank
andsrc/sage/libs/cremona
tosrc/sage/libs/eclib
.There are no functional changes at all.
Upstream bug found: JohnCremona/eclib#10
CC: @JohnCremona @jpflori
Component: cython
Author: Jeroen Demeyer
Branch/Commit:
d3f8404
Reviewer: Jean-Pierre Flori
Issue created by migration from https://trac.sagemath.org/ticket/19818
The text was updated successfully, but these errors were encountered: