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

QQBar: construct from any Integer or Complex value #1702

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

fingolfin
Copy link
Member

... not just Int, Complex{Int}.

While at it, allow QQBar(x::Any) for any input x -- just forward this to QQBarFieldElem and let that decide which conversions are possible. That avoid situations where QQBarFieldElem(x) works but QQBar(x) does not.

This resolves on of my comments on issue #1650

... not just Int, Complex{Int}.

While at it, allow `QQBar(x::Any)` for any input `x` -- just forward
this to `QQBarFieldElem` and let that decide which conversions are
possible. That avoid situations where `QQBarFieldElem(x)` works but
`QQBar(x)` does not.
Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.68%. Comparing base (e419710) to head (71d8321).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1702      +/-   ##
==========================================
- Coverage   84.70%   84.68%   -0.02%     
==========================================
  Files          94       94              
  Lines       37460    37455       -5     
==========================================
- Hits        31730    31719      -11     
- Misses       5730     5736       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lgoettgens lgoettgens enabled auto-merge (squash) April 4, 2024 09:16
@lgoettgens lgoettgens merged commit 817ebfd into Nemocas:master Apr 4, 2024
15 of 16 checks passed
@fingolfin fingolfin deleted the mh/qqbar branch April 5, 2024 07:44
lgoettgens added a commit that referenced this pull request Apr 19, 2024
lgoettgens added a commit that referenced this pull request Apr 19, 2024
lgoettgens added a commit that referenced this pull request Apr 30, 2024
…1725)

Revert "Revert "QQBar: construct from any Integer or Complex value (#1702)" (…"

This reverts commit 52e8e07.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants