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

Allow kwargs to pass to lldl #32

Merged
merged 4 commits into from
Feb 25, 2023
Merged

Allow kwargs to pass to lldl #32

merged 4 commits into from
Feb 25, 2023

Conversation

JeffFessler
Copy link
Member

This should address #30.
I have not yet added and tests to confirm the additional functionality.
@learning-chip does this seem like the appropriate extension and can you suggest a test?

@mohamed82008
Copy link
Member

The implementation looks correct to me. Please add a test and let's this get this merged.

@JeffFessler
Copy link
Member Author

I added a minimal test.
I also made it more clear to future developers which functions come from which packages.
There was also an unused where T that julia v1.8 complained about that I removed.
And I bumped the version to 0.6.

@JeffFessler
Copy link
Member Author

@mohamed82008 this is ready for you to review

@@ -2,26 +2,36 @@ function assert_pd(d, α)
@assert α == 0 && all(x -> x > 0, d) "The input matrix is not positive definite."
end

"""
CholeskyPreconditioner(A, memory=2; kwargs...)
Construct
Copy link
Member

Choose a reason for hiding this comment

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

We should use JuliaFormatter at some point to have consistent formatting. The lack of an empty line before Construct and short docstring lines strike me as odd but it's not a blocker. I am happy to follow any standard automated format.

@mohamed82008 mohamed82008 merged commit c25cf1b into master Feb 25, 2023
@JeffFessler JeffFessler deleted the jf/reorder branch February 25, 2023 20:40
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.

None yet

2 participants