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

fix: kernel functions #853

Merged
merged 6 commits into from
Sep 19, 2023
Merged

Conversation

sathvikbhagavan
Copy link
Member

abs(t) > 0 will give all points except 0. This means K(t) will result in 0 for all points except 0. That is incorrect.

`abs(t) > 0` will give all points except 0. This means K(t) will result in 0 for all points except 0. That is incorrect.
@ChrisRackauckas
Copy link
Member

Is there a nice test for this?

@sathvikbhagavan
Copy link
Member Author

What kind of tests should I add? Unit tests for all the kernels or regression tests similar to https://github.com/SciML/DiffEqFlux.jl/blob/master/test/collocation_regression.jl?

I see only SigmoidKernel was used in https://github.com/SciML/DiffEqFlux.jl/blob/master/test/collocation_regression.jl, so the bug was never caught.

@ChrisRackauckas
Copy link
Member

What kind of tests should I add? Unit tests for all the kernels or regression tests similar to https://github.com/SciML/DiffEqFlux.jl/blob/master/test/collocation_regression.jl?

That would be good.

@ChrisRackauckas ChrisRackauckas merged commit 7e3cb5f into SciML:master Sep 19, 2023
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants