Skip to content

Commit

Permalink
Fixed issue with directions being added to variety even when running …
Browse files Browse the repository at this point in the history
…over Fp
  • Loading branch information
GDeLaurentis committed May 21, 2024
1 parent ba10b0d commit ec6aaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syngular/variety.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def point_on_variety(self, field, base_point={}, directions=None, valuations=tup
if isinstance(direction, sympy.core.Basic):
directions[i] = str(sympy.expand(direction))
# extra directions in qring
if isinstance(self.ring, QuotientRing):
if isinstance(self.ring, QuotientRing) and field.name not in ['finite field', 'Fp']:
directions += self.ring.ideal.generators

# handle valuations - if valuations == tuple() return a point exactly on the variety
Expand Down

0 comments on commit ec6aaf9

Please sign in to comment.