Skip to content

Commit 2f15e47

Browse files
committed
Fix index offset in find_point call for Schottky class
1 parent e6f1c03 commit 2f15e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

darmonpoints/schottky.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ def _u_function(self, i, prec, a, naive=False):
802802
"""
803803
gamma = self._generators[i]
804804
if a is None:
805-
a = self.find_point(gamma, idx=i) # self.a_point()
805+
a = self.find_point(gamma, idx=i+1) # self.a_point()
806806
K = a.parent()
807807
else:
808808
a = self.base_ring()(1) * a

0 commit comments

Comments
 (0)