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

No warning is triggered when non-existing variable name is used #138

Closed
neuronalX opened this issue Oct 19, 2023 · 0 comments · Fixed by #144
Closed

No warning is triggered when non-existing variable name is used #138

neuronalX opened this issue Oct 19, 2023 · 0 comments · Fixed by #144
Assignees
Labels
enhancement New feature or request not a bug

Comments

@neuronalX
Copy link
Collaborator

neuronalX commented Oct 19, 2023

When calling a function like Reservoir(...) for the creation of a reservoir, no warning or error is raised if there is a mispealing of mis-use of a variable name. For instance, if I call
res = Reservoir(100, spectral_radius=0.65, leak_rate=0.3)
instead of
res = Reservoir(100, sr=0.65, lr=0.3)
the code runs without any error. Thus, I can only guess that something is going wrong only if I plot the internal activations and try to see the influence of the parameters changes.

Running last version of ReservoirPy with Python 3.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request not a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants