- Notifications
You must be signed in to change notification settings - Fork441
Type checking of input/output when initializing#852
-
Hi, I think, I found a bug, or a suggestion for improvement, when running the prey example: When I run the code of the prey example, in particular the linearization, After analyzing the code, I think the origin of the error is that in predprey_rhs() dH is of type numpy arrary, while dL is not. I think others ones are much deeper in the code than me. That is why I post this topic instead of a pull request. Maybe a type check with dummy input/output data already solves these kind of issues when initializing the constructor. I think such a feature could save people some time. Best, Python: 3.810 |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
Hi, thanks for the report! This is actually a bug/regression because NumPy 1.24 does not allow ragged arrays anymore. I have opened#853 for it. |
BetaWas this translation helpful?Give feedback.