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

Bug in AMGPreconditioner #20

Closed
pmartorell opened this issue Nov 5, 2021 · 1 comment · Fixed by #21
Closed

Bug in AMGPreconditioner #20

pmartorell opened this issue Nov 5, 2021 · 1 comment · Fixed by #21

Comments

@pmartorell
Copy link

Hi,

since AlgebraicMultigrid v0.4.1 the code breaks in the following snipped:

using IterativeSolvers
using Preconditioners
using AlgebraicMultigrid

A = poisson(1000)
b = A*ones(1000)
p = AMGPreconditioner{SmoothedAggregation}(A)
cg(A,b,Pl=p)

However, the raw preconditioner can still be used from AlgebraicMultigrid package:

p = aspreconditioner(smoothed_aggregation(A))
@mohamed82008
Copy link
Member

Thanks for the report. I opened a PR to fix this.

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 a pull request may close this issue.

2 participants