fixed issue with de Rham basis and coordinates for more than one place at infty (lift_to_de_rham) pt 2

This commit is contained in:
Jędrzej Garnek 2025-01-02 18:30:13 +01:00
parent dedec88e64
commit 78b76a116a
2 changed files with 1 additions and 3 deletions

View File

@ -450,7 +450,7 @@ class as_cover:
return result_fcts
def lift_to_de_rham(self, fct, basis = 0, threshold = 30):
'''Given function fct, find form eta regular on affine part such that eta - d(fct) is regular in infty. (Works for one place at infty now)'''
'''Given function fct, find form eta regular on affine part such that eta - d(fct) is regular in infty.'''
from itertools import product
x_series = self.x_series
y_series = self.y_series

View File

@ -88,9 +88,7 @@ class as_form:
def coordinates(self, basis = 0):
"""Find coordinates of the given holomorphic form self in terms of the basis forms in a list holo."""
print(self)
self = self.reduce()
print('s reduce', self)
C = self.curve
if basis == 0:
basis = C.holomorphic_differentials_basis()