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

fix: make dot work again #1593

Merged
merged 2 commits into from
Feb 2, 2024
Merged

fix: make dot work again #1593

merged 2 commits into from
Feb 2, 2024

Conversation

thofma
Copy link
Member

@thofma thofma commented Feb 2, 2024

No description provided.

test/Rings-test.jl Outdated Show resolved Hide resolved
@lgoettgens
Copy link
Collaborator

lgoettgens commented Feb 2, 2024

We already have

LinearAlgebra.dot(a::NCRingElem, b::NCRingElem) = a * b
. Can you move this over and merge with your new methods?

Copy link

codecov bot commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c8b22bf) 87.17% compared to head (9fb3bd2) 87.17%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1593   +/-   ##
=======================================
  Coverage   87.17%   87.17%           
=======================================
  Files         115      115           
  Lines       29565    29567    +2     
=======================================
+ Hits        25773    25776    +3     
+ Misses       3792     3791    -1     

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

src/Rings.jl Outdated

dot(x::NCRingElem, y::Union{Integer, Rational, AbstractFloat}) = x * y

dot(x::Union{Integer, Rational, AbstractFloat}, y::NCRingElem) = x * y
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move all of this to src/NCRings.jl to match the test file?

Co-authored-by: Lars Göttgens <[email protected]>
@thofma thofma enabled auto-merge (rebase) February 2, 2024 17:33
@thofma thofma disabled auto-merge February 2, 2024 17:33
@thofma thofma enabled auto-merge (squash) February 2, 2024 17:34
@thofma thofma merged commit 74910f3 into master Feb 2, 2024
15 checks passed
@thofma thofma deleted the th/dot branch February 2, 2024 18:57
ooinaruhugh pushed a commit to ooinaruhugh/AbstractAlgebra.jl that referenced this pull request Feb 15, 2024
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