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

error when running lambda.py #32

Open
Magaud59 opened this issue Nov 28, 2022 · 1 comment
Open

error when running lambda.py #32

Magaud59 opened this issue Nov 28, 2022 · 1 comment

Comments

@Magaud59
Copy link

Magaud59 commented Nov 28, 2022

Dear NSchloe,

I would like to use the smoothfit package to generate a function that will fit a dataset... so far so good, I should be at the right door.

I was looking for a way to create a function from your code and I found the lambda.py exemple that normally do this via the function named u (l.21).

When running the code, my spyder console is returning me the following:

vals = [u(xx) for xx in x]
TypeError: 'tuple' object is not callable

Is it only happening to me? How can I set up a general function from the package?

Thanks for your support.

With regards

Matthieu

@nschloe
Copy link
Collaborator

nschloe commented Mar 6, 2023

Hi Matthieu,

To properly help you, I'd need some complete and minimal code that reproduces the error.

Cheers,
Nico

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

2 participants