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

dlthx fortran-to-python error #68

Open
ab3ap opened this issue Dec 11, 2022 · 0 comments
Open

dlthx fortran-to-python error #68

ab3ap opened this issue Dec 11, 2022 · 0 comments

Comments

@ab3ap
Copy link

ab3ap commented Dec 11, 2022

There appears to be an indexing error in dlthx.py as compared to the fortran version in itm.for. However, test_dlthx.py passes as-is and also with the correction. The current dlthx.py line 65 is

     `dlthx1 = qtile(s[2:-1], ka-1) - qtile(s[2:-1], kb-2)`

but in fortran, lines 786-791, it seems the equivalent would be:

    `dlthx1 = qtile(s[2:], ka-1) - qtile(s[2:], kb-1)`
@ab3ap ab3ap changed the title dlthx c++-to-python error dlthx fortran-to-python error Dec 11, 2022
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

No branches or pull requests

1 participant