Skip to content
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

Incorrect element comparison for places/divisors #39356

Open
2 tasks done
vincentmacri opened this issue Jan 20, 2025 · 0 comments
Open
2 tasks done

Incorrect element comparison for places/divisors #39356

vincentmacri opened this issue Jan 20, 2025 · 0 comments

Comments

@vincentmacri
Copy link
Contributor

Steps To Reproduce

In Sage 10.5, run:

R.<x, y> = GF(5)[]
C = Curve(y^2 - x^3)
F = C.function_field()
D = F.places_finite()[0]
print(0 >= -D, 0 >= -D.divisor())

Expected Behavior

This should print True True.

Actual Behavior

This prints False False.

Additional Information

No response

Environment

  • OS: Fedora 41
  • Sage Version: 10.5

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant