-
Notifications
You must be signed in to change notification settings - Fork 62
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
forcing fits through points with degrees > 1 #54
Comments
Thanks Tobi. I guess I missed this test case when I've implemented this, and I think is a higher priority on my todo list since this is intended to work. However, It's probably a week until I can look at this in detail. Any help until then as to why this isn't working as intended is appreciated. |
I think this fixed the issue, but I'll leave this open for now. At the moment I'm going to release a new pwlf version which includes these changes. |
Hi cjekel, sorry for the late response. |
Thanks for making me aware of the issue and giving me a basic example to work with! |
Hi, I am trying to force a fit through a point using the pwlf library. If I force the fit through a certain data point with a degree=1 everything works perfectly, but as soon as I set the degree=2 the following error comes up:
ValueError: could not broadcast input array from shape (5,1) into shape (11,1)
This is the code I used:
The text was updated successfully, but these errors were encountered: