Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use vnl_sparse_matrix::get in ComputeJacobianTerms::Compute() #1277

Merged
merged 2 commits into from
Dec 8, 2024

Conversation

N-Dekker
Copy link
Member

@N-Dekker N-Dekker commented Dec 8, 2024

vnl_sparse_matrix::get(r, c) just returns zero when the entry isn't there, and it returns immediately when the row is empty.

The performance of vnl_sparse_matrix::get was improved by:

A performance improvement may not be noticeable, but it won't harm.

`vnl_sparse_matrix::get(r, c)` just returns when the entry isn't there, and it returns immediately when the row is empty.

A performance improvement may not be noticeable, but it won't harm.
@N-Dekker N-Dekker merged commit f928159 into main Dec 8, 2024
7 of 8 checks passed
@N-Dekker N-Dekker deleted the Remove-scales-from-ComputeJacobianTerms branch December 8, 2024 17:23
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant