Skip to content
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

Examples and verification using hold syntax #65

Open
5 of 9 tasks
edgarcosta opened this issue Apr 29, 2019 · 2 comments
Open
5 of 9 tasks

Examples and verification using hold syntax #65

edgarcosta opened this issue Apr 29, 2019 · 2 comments

Comments

@edgarcosta
Copy link
Owner

edgarcosta commented Apr 29, 2019

At the moment I can't run the following files:

  • Verification/sqrt5-verification.m

  • examples/can_ring_example.m

  • examples/hecke_stability_example.m

  • examples/pickle.m

  • examples/save_test.m

  • examples/sqrt5demo.m

  • examples/test_eisenstein.m

  • examples/tests.m

  • examples/usage.m

Looks like that for most of them should be a simple adaptation to the new syntax for HMFSpace.

In either case, we should try to update the syntax on these files whenever we change the syntax somewhere else, otherwise, they aren't very good examples...

@edgarcosta
Copy link
Owner Author

edgarcosta commented Apr 30, 2019

I manage to get examples/can_ring_example.m to run, but now is taking forever to get anywhere ....
@samueltripp told me it should take only a couple of minutes, but this has been running for more than 10 min and I only got this:

Level: 2      Generators 1  Relations 0
Graded ring of Hilbert modular forms over Quadratic Field with defining polynomial x^2 - 13 over the Rational Field with precision 100
Level: 4      Generators 1  Relations 0

Update:

Loading file "examples/can_ring_example.m"
Loading "config.m"
Level: 2      Generators 1  Relations 0
Graded ring of Hilbert modular forms over Quadratic Field with defining polynomial x^2 - 13 over the Rational Field with precision 100
Level: 4      Generators 1  Relations 0
Level: 6      Generators 2  Relations 0
Level: 8      Generators 1  Relations 0
Time: 4372.740

In file "examples/can_ring_example.m", line 13, column 25:
>> time g1, r1 := Relations(M, g, r, 20);
                           ^
Runtime error in 'Relations': Bad argument types
Argument types given: ModFrmHilDGRng, Assoc, Assoc, RngIntElt

Anyhow, I also learned that issue is indeed we changed the meaning of prec and prec = 100 is way too high.

Triple Update: examples/can_ring_example.m has been fixed

@edgarcosta
Copy link
Owner Author

tests.m and usage.m are running as expected.
I didn't try to fix the rest, but at least we have now a place to look at how to use our code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant