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

assert_near behaves inconsistenly with str values #1316

Open
bonjourmauko opened this issue Nov 21, 2024 · 0 comments · May be fixed by #1228
Open

assert_near behaves inconsistenly with str values #1316

bonjourmauko opened this issue Nov 21, 2024 · 0 comments · May be fixed by #1228
Labels
kind:fix Bugs are defects and failure demand.

Comments

@bonjourmauko
Copy link
Member

bonjourmauko commented Nov 21, 2024

Hi there!

I really enjoy OpenFisca, but I recently encountered an issue.

Here is what I did:

Write a formula declared as str.

Here is what I expected to happen:

To take the value as a numpy.dtype[str_].

Here is what actually happened:

It does not. Instead, it tries to run numexpr.evaluate over it.

Here is data (or links to it) that can help you reproduce this issue:

ba1ff45

@bonjourmauko bonjourmauko added the kind:fix Bugs are defects and failure demand. label Nov 21, 2024
@bonjourmauko bonjourmauko linked a pull request Nov 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:fix Bugs are defects and failure demand.
Projects
Development

Successfully merging a pull request may close this issue.

1 participant