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

Falloff class uses params, not coeffs as stated in the docstrings and documentation #327

Closed
connie opened this issue Mar 16, 2016 · 0 comments

Comments

@connie
Copy link

connie commented Mar 16, 2016

Again, a minor issue but led to some confusion with the documentation. Trying to create any Falloff subclass leads to the following type of error:

ct.TroeFalloff(coeffs=[1,2,3])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "interfaces/cython/cantera/reaction.pyx", line 385, in cantera._cantera.Falloff.__cinit__ (interfaces/cython/cantera/_cantera.cpp:31370)
TypeError: __cinit__() got an unexpected keyword argument 'coeffs'

According to the docstrings and documentation, it should be coeffs, but it should actually be params, which works fine:

ct.TroeFalloff(params=[1,2,3])
@speth speth closed this as completed in ac246a2 Mar 23, 2016
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