Skip to content

Commit 2e45de7

Browse files
committed
Allow effective divisor input for Jacobian
1 parent 283a86e commit 2e45de7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sage/rings/function_field/jacobian_base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,7 @@ def __call__(self, x):
666666
if x == 0:
667667
return self.group().zero()
668668
if x in F.divisor_group():
669-
G = self.group()
670-
return G.point(x)
669+
return self.group()(x)
671670
raise ValueError(f"cannot create a point of the Jacobian from {x}")
672671

673672
def curve(self):

0 commit comments

Comments
 (0)