Skip to content

Ensure diagm preserves eltype#2975

Merged
kshyatt merged 1 commit into
masterfrom
ksh/fixdiagm
Nov 18, 2025
Merged

Ensure diagm preserves eltype#2975
kshyatt merged 1 commit into
masterfrom
ksh/fixdiagm

Conversation

@kshyatt

@kshyatt kshyatt commented Nov 17, 2025

Copy link
Copy Markdown
Member

Previously you could lose precision by using diagm. Very bad!

@kshyatt

kshyatt commented Nov 17, 2025

Copy link
Copy Markdown
Member Author

This PR also prevents a CPU->GPU copy

@kshyatt kshyatt added the cuda array Stuff about CuArray. label Nov 17, 2025
@kshyatt kshyatt enabled auto-merge (squash) November 18, 2025 18:37
@codecov

codecov Bot commented Nov 18, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.34%. Comparing base (2e983fe) to head (3942ff4).
⚠️ Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2975      +/-   ##
==========================================
- Coverage   89.34%   89.34%   -0.01%     
==========================================
  Files         150      150              
  Lines       13087    13115      +28     
==========================================
+ Hits        11692    11717      +25     
- Misses       1395     1398       +3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kshyatt kshyatt merged commit 1d1be49 into master Nov 18, 2025
3 checks passed
@kshyatt kshyatt deleted the ksh/fixdiagm branch November 18, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda array Stuff about CuArray.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant