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

remove -1-filling of arrays from lusol factor extraction code #182

Merged

Conversation

superwhiskers
Copy link
Collaborator

this removes -1-filling of arrays from the factor extraction code in #178, making it able to be merged

std::fill_n(rows, current_nnz, -1);
real_type* values = L_->getValues(memory::HOST);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't elements of rows array be initialized to zero instead?

Copy link
Collaborator Author

@superwhiskers superwhiskers Aug 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That shouldn't be necessary regardless. Some testing I performed on the coo2csr/coo2coo implementations yielded no indication that it would be necessary

@pelesh pelesh merged commit e4e7b9a into ORNL:lusol-factor-extraction Sep 10, 2024
1 of 2 checks passed
pelesh pushed a commit that referenced this pull request Sep 11, 2024
* remove -1-filling of arrays from lusol factor extraction code

* adjustments to deduplication criterion
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