Skip to content

Handle empty matrix/vectors on multiply/add#847

Merged
kmokstad merged 2 commits intoOPM:masterfrom
kmokstad:linalg-update
Mar 24, 2026
Merged

Handle empty matrix/vectors on multiply/add#847
kmokstad merged 2 commits intoOPM:masterfrom
kmokstad:linalg-update

Conversation

@kmokstad
Copy link
Copy Markdown
Contributor

The title applies to the second commit only. This will ensure the empty objects are automatically initialized when adding new values to them, instead of crashing.

The other commit is totally unrelated, only some BDF clean-up which was lying on my local branch.

kmokstad added 2 commits March 5, 2026 09:40
add the result to the existing content can now handle that the
target object is empty, considering it equivalent to being zero
@kmokstad
Copy link
Copy Markdown
Contributor Author

jenkins build this with downstreams please

@kmokstad kmokstad merged commit d3d78f9 into OPM:master Mar 24, 2026
1 check passed
@kmokstad kmokstad deleted the linalg-update branch March 24, 2026 09:35
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.

1 participant