Skip to content

fix gauss quadrature #622

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

Closed
wants to merge 1 commit into from
Closed

fix gauss quadrature #622

wants to merge 1 commit into from

Conversation

freevryheid
Copy link

@freevryheid freevryheid commented Jan 24, 2022

when providing intervals [-1, 1] to guass quad function I was getting a different result. I was able to fix by commenting the two lines in each of the quad functions as shown. Sorry, my editor strips trailing spaces, hence the other diffs.

real(dp), dimension(2), parameter :: interval = [-1_dp,1_dp]
call gauss_legendre(x,w,interval)

@freevryheid
Copy link
Author

Addressed by #619

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