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

Replace multiple calls to precision(::AbsMSeries) #1481

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

fingolfin
Copy link
Member

This function is type unstable, so at least internal code is better off not calling it.

See also this discussion.

This function is type unstable, so at least internal code is better off not calling it
@fingolfin fingolfin requested a review from fieker October 30, 2023 21:25
@codecov
Copy link

codecov bot commented Oct 30, 2023

Codecov Report

Merging #1481 (b929695) into master (f136fc9) will decrease coverage by 0.01%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master    #1481      +/-   ##
==========================================
- Coverage   86.81%   86.81%   -0.01%     
==========================================
  Files         110      110              
  Lines       28649    28648       -1     
==========================================
- Hits        24873    24872       -1     
  Misses       3776     3776              
Files Coverage Δ
src/generic/AbsMSeries.jl 95.25% <91.66%> (-0.02%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@thofma
Copy link
Member

thofma commented Nov 2, 2023

Is this related to the refactoring or independent?

@fingolfin
Copy link
Member Author

I am not even sure which refactoring you refer to, so I am guessing "unrelated" :-). I.e., this is just about fixing an issue reported by JET, and then extending it some more.

But if somebody is planning to refactor this code to not do weird type unstable things, I'd be happy to close this PR in favor of that!

@thofma
Copy link
Member

thofma commented Nov 3, 2023

I think I meant the changed constructor, but I see.

@thofma thofma merged commit 9489979 into Nemocas:master Nov 3, 2023
12 of 15 checks passed
@fingolfin fingolfin deleted the mh/AbsMSeries-prec branch November 3, 2023 20:05
fingolfin added a commit to mgkurtz/AbstractAlgebra.jl that referenced this pull request Nov 21, 2023
This function is type unstable, so at least internal code is better off not calling it
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