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

Couplings method is called with array instead of float #371

Open
felixhekhorn opened this issue May 15, 2024 · 0 comments
Open

Couplings method is called with array instead of float #371

felixhekhorn opened this issue May 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working good first issue

Comments

@felixhekhorn
Copy link
Contributor

Can you please have a look to the deprecation warning from numpy here

specifically all the

/home/runner/work/eko/eko/src/eko/couplings.py:691: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
    key = (float(a_ref[0]), float(a_ref[1]), nf, nl, scale_from, float(scale_to))

look very suspicious - someone is calling the method with scale_to not being a float, which is clearly wrong

It might be a badly written test.

@felixhekhorn felixhekhorn added the bug Something isn't working label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue
Projects
None yet
Development

No branches or pull requests

2 participants