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

ZeroDivisionError: 0.0 cannot be raised to a negative power #41

Open
younesStrittmatter opened this issue Sep 9, 2023 · 0 comments
Open

Comments

@younesStrittmatter
Copy link
Contributor

I sometimes get this error:

File ~/Documents/GitHub/AutoResearch/autora-core/venv/lib/python3.11/site-packages/autora/theorist/bms/mcmc.py:654, in Tree.get_sse.<locals>.feval(x, *params)
    652 def feval(x, *params):
    653     args = [xi for xi in x] + [p for p in params]
--> 654     return flam(*args)

File <lambdifygenerated-587968>:2, in _lambdifygenerated(_a0_)
      1 def _lambdifygenerated(_a0_):
----> 2     return fac(_a0_)**(-1.0)

ZeroDivisionError: 0.0 cannot be raised to a negative power
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