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 inference on symmatrix (patch for #472) #480

Merged
merged 3 commits into from
Feb 25, 2022
Merged

Fix inference on symmatrix (patch for #472) #480

merged 3 commits into from
Feb 25, 2022

Conversation

N5N3
Copy link
Contributor

@N5N3 N5N3 commented Feb 23, 2022

This PR hardcoded the output size of symmatrix for L < 32 to avoid sqrt/power, thus also work on 1.6 and 1.7.
For L > 32, we'll touch the inference threshold of Tuple anyway. Thus more methods seems meaningless.
(I'm not sure why #472 passed previously on 1.7.0. Quite strange.)

This avoid `sqrt`/`power`, thus also work on 1.6 and 1.7.
@codecov
Copy link

codecov bot commented Feb 23, 2022

Codecov Report

Merging #480 (7fd7fbc) into master (8a89ddf) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #480      +/-   ##
==========================================
+ Coverage   86.37%   86.39%   +0.02%     
==========================================
  Files          26       26              
  Lines        1732     1735       +3     
==========================================
+ Hits         1496     1499       +3     
  Misses        236      236              
Impacted Files Coverage Δ
src/b-splines/indexing.jl 78.57% <100.00%> (+0.34%) ⬆️
src/Interpolations.jl 79.52% <0.00%> (+0.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8a89ddf...7fd7fbc. Read the comment docs.

src/b-splines/indexing.jl Outdated Show resolved Hide resolved
@mkitti mkitti merged commit 0fe41bf into JuliaMath:master Feb 25, 2022
@N5N3 N5N3 deleted the fix branch February 25, 2022 01:41
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