Skip to content

Assembler bug fix. Addresses #315#316

Merged
cmhamel merged 2 commits into
mainfrom
assemblers/overwrite-bug-fix
Jun 14, 2026
Merged

Assembler bug fix. Addresses #315#316
cmhamel merged 2 commits into
mainfrom
assemblers/overwrite-bug-fix

Conversation

@cmhamel

@cmhamel cmhamel commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

fixing bug where if we assembled stiffness and mass the cscnzval which is really the nzval in the CSC matrix gets overwritten. This was likely only an issue for csc/csr matrices on the CPU. Need to add options to not explicitly store this data when the backend is anything but CPU.

Fixes #315

…h is really the nzval in the CSC matrix gets overwritten. This was likely only an issue for csc/csr matrices on the CPU. Need to add options to not explicitly store this data when the backend is anything but CPU.
@codecov

codecov Bot commented Jun 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 61.53846% with 35 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.85%. Comparing base (b0117f8) to head (cc1fa14).

Files with missing lines Patch % Lines
src/Parameters.jl 0.00% 14 Missing ⚠️
src/AppTools.jl 51.85% 13 Missing ⚠️
src/assemblers/Diagonal.jl 0.00% 5 Missing ⚠️
src/assemblers/Assemblers.jl 84.21% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #316      +/-   ##
==========================================
- Coverage   69.13%   68.85%   -0.29%     
==========================================
  Files          55       55              
  Lines        5926     5969      +43     
==========================================
+ Hits         4097     4110      +13     
- Misses       1829     1859      +30     

☔ View full report in Codecov by Harness.
📢 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.

@cmhamel cmhamel merged commit 57c427f into main Jun 14, 2026
8 of 13 checks passed
@cmhamel cmhamel deleted the assemblers/overwrite-bug-fix branch June 14, 2026 21:14
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.

Major bug in assembler... Mass and stiffness can overwrite each other

1 participant