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

Better debugging info for when things break #82

Open
willtebbutt opened this issue Apr 30, 2020 · 0 comments
Open

Better debugging info for when things break #82

willtebbutt opened this issue Apr 30, 2020 · 0 comments

Comments

@willtebbutt
Copy link
Member

Relates to #80 -- FiniteDifferences cannot generally handle functions for which either the size the type of the output is a function of the value of the input. Given that these are fundamental limitations, rather than bugs, it makes sense to provide tooling to help users understand when this issues are encountered.

I propose to add a mode (somehow) that lets the user get easy access to the inputs are which the function will be evaluated by FiniteDifferences. This should be sufficient to make it easy for the user to figure out what's going on when things break.

It would be nice to add helpful warnings when standard things go wrong - eg. your function's output type is different for different evaluations of the function, which can easily happen in slightly unexpected ways, such as in #80 .

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