-
Notifications
You must be signed in to change notification settings - Fork 229
refactor mu_nu in hodge.py #6650
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ def test_random_family(self): | |
| self.check_args("/Motive/Hypergeometric/Q/random_family", ["Hypergeometric motive family", "Defining parameters"]) | ||
|
|
||
| def test_by_family_label(self): | ||
| self.check_args("/Motive/Hypergeometric/Q/A4.4_B1.1.1.1", ["[4, 4]", "[1, 1, 1, 1]", "[-2, -2, -1, -1, -1, -1, 4, 4]"]) # As, Bs, gamma | ||
| self.check_args("/Motive/Hypergeometric/Q/A4.4_B1.1.1.1", ["[4, 4]", "[1, 1, 1, 1]", "[-2, -2, -1, -1, -1, -1, 4, 4]"]) # As, Bs, gamma | ||
|
|
||
| def test_type(self): | ||
| self.check_args("/Motive/Hypergeometric/Q/A18.12_B8.3.2.1.1.1", "Orthogonal") | ||
|
|
@@ -35,14 +35,14 @@ def test_monodromy(self): | |
| def test_good_euler(self): | ||
| self.check_args("/Motive/Hypergeometric/Q/A6.4.4.3_B12.2.2.2.1", "1 + 6 T - 45 p T^{2} - 2130 p^{2} T^{3} + 268 p^{4} T^{4} - 2130 p^{6} T^{5} - 45 p^{9} T^{6} + 6 p^{12} T^{7} + p^{16} T^{8}") | ||
|
|
||
| ### motive pages | ||
| # ## motive pages | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are you inserting spaces in these kinds of comments? I find
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a codestyle suggestion by pycodestyle. Very low priority, of course. |
||
|
|
||
| def test_random_motive(self): | ||
| self.check_args("/Motive/Hypergeometric/Q/random_motive", "Local information") | ||
| self.not_check_args("/Motive/Hypergeometric/Q/random_motive", "Hypergeometric motive family") | ||
|
|
||
| def test_by_motive_label(self): | ||
| self.check_args("/Motive/Hypergeometric/Q/A2.2.2_B4.1/t9.8", ["[2, 2, 2]", "[4, 1]", "[-4, -1, -1, -1, -1, 2, 2, 2, 2]"]) # As, Bs, gamma | ||
| self.check_args("/Motive/Hypergeometric/Q/A2.2.2_B4.1/t9.8", ["[2, 2, 2]", "[4, 1]", "[-4, -1, -1, -1, -1, 2, 2, 2, 2]"]) # As, Bs, gamma | ||
|
|
||
| def test_type_motive(self): | ||
| self.check_args("/Motive/Hypergeometric/Q/A4.4_B1.1.1.1/t-8.1", "Symplectic") | ||
|
|
@@ -56,12 +56,12 @@ def test_conductor(self): | |
| def test_local_information(self): | ||
| self.check_args("/Motive/Hypergeometric/Q/A4.2.2_B1.1.1.1/t1.9", ["3737281794192", "8013465013431125"]) | ||
|
|
||
| ### searches | ||
| # ## searches | ||
|
|
||
| ### family searches | ||
| # ## family searches | ||
|
|
||
| def test_search_degree(self): | ||
| self.check_args("/Motive/Hypergeometric/Q/?degree=4&search_type=Family", ["A5_B3.2.1","A10_B4.2.1"]) | ||
| self.check_args("/Motive/Hypergeometric/Q/?degree=4&search_type=Family", ["A5_B3.2.1", "A10_B4.2.1"]) | ||
| self.not_check_args("/Motive/Hypergeometric/Q/?degree=4&search_type=Family", "A2_B1") | ||
|
|
||
| def test_search_weight(self): | ||
|
|
@@ -96,7 +96,7 @@ def test_search_Bp_perp(self): | |
| self.check_args("/Motive/Hypergeometric/Q/?p=7&Bpperp=[4%2C2%2C1%2C1%2C1]&search_type=Family", "A9_B4.2.1.1.1") | ||
| self.not_check_args("/Motive/Hypergeometric/Q/?p=7&Bpperp=[4%2C2%2C1%2C1%2C1]&search_type=Family", "A2.2.2.2.2.2_B14") | ||
|
|
||
| ### motive searches | ||
| # ## motive searches | ||
|
|
||
| def test_search_conductor(self): | ||
| self.check_args("/Motive/Hypergeometric/Q/?conductor=32&search_type=Motive", "A4_B2.1_t-8.1") | ||
|
|
@@ -114,17 +114,17 @@ def test_search_root_number(self): | |
| self.check_args("/Motive/Hypergeometric/Q/?sign=-1&search_type=Motive", "A4_B1.1_t-1.1") | ||
| self.not_check_args("/Motive/Hypergeometric/Q/?sign=-1&search_type=Motive", "A4_B2.1_t-1.1") | ||
|
|
||
| ### downloads | ||
| # ## downloads | ||
|
|
||
| ### friends | ||
| # ## friends | ||
|
|
||
| ### for families | ||
| # ## for families | ||
|
|
||
| def test_friends_family(self): | ||
| self.check_args("/Motive/Hypergeometric/Q/A12.6.6.6_B3.2.2.2.2.2.2.1.1", "Motives in the family") | ||
|
|
||
| ### for motives | ||
| # ## for motives | ||
|
|
||
| def test_friends_motive(self): | ||
| self.check_args("/Motive/Hypergeometric/Q/A2.2.2_B4.1/t2.1", "Motive family A2.2.2 B4.1") # containing family | ||
| self.check_args("/Motive/Hypergeometric/Q/A2.2.2_B4.1/t2.1", "/L/Motive/Hypergeometric/Q/A2.2.2_B4.1/t2.1") # L-function | ||
| self.check_args("/Motive/Hypergeometric/Q/A2.2.2_B4.1/t2.1", "Motive family A2.2.2 B4.1") # containing family | ||
| self.check_args("/Motive/Hypergeometric/Q/A2.2.2_B4.1/t2.1", "/L/Motive/Hypergeometric/Q/A2.2.2_B4.1/t2.1") # L-function | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how this code is supposed to be used, but
(motivic_weight - 2 * p) / 2won't have the same type as(motivic_weight - 2 * p) / 2.Did you change this on purpose?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made sure that everything is either a sage integer of a sage rational.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is that rational numbers and float don't display the same, and I'm not sure where this is used. Can you track down what webpages these are displayed on, and see if they're currently shown as floats?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This issue needs to be clarified before we can merge this PR. I'm going to close for now, but am happy to reopen if you address this.