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 ambiguities #43

Merged
merged 1 commit into from
Mar 28, 2021
Merged

Conversation

SebastianM-C
Copy link
Contributor

@SebastianM-C SebastianM-C commented Mar 28, 2021

I removed the ::Function restriction as mentioned in #42 (comment)

Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Mar 28, 2021

Codecov Report

Merging #43 (069eaf9) into master (4a95d3d) will decrease coverage by 1.75%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #43      +/-   ##
=========================================
- Coverage   11.41%   9.66%   -1.76%     
=========================================
  Files          39      39              
  Lines        2829    2825       -4     
=========================================
- Hits          323     273      -50     
- Misses       2506    2552      +46     
Impacted Files Coverage Δ
src/SciMLBase.jl 100.00% <ø> (ø)
src/problems/dde_problems.jl 0.00% <0.00%> (ø)
src/utils.jl 25.00% <0.00%> (-44.42%) ⬇️
src/remake.jl 37.50% <0.00%> (-6.50%) ⬇️
src/scimlfunctions.jl 6.79% <0.00%> (-1.11%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d67b76e...069eaf9. Read the comment docs.

@devmotion
Copy link
Member

Maybe you could add a test of detect_ambiguities to avoid regressions and to ensure that no new ambiguities are added?

@SebastianM-C
Copy link
Contributor Author

There already is one (it's the first test actually)

@test isempty(detect_ambiguities(SciMLBase))

@devmotion
Copy link
Member

Oh OK, I didn't notice this, somehow I just assumed all tests pass on the master branch 😄

Copy link
Member

@devmotion devmotion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@isaacsas
Copy link
Member

FWIW the DiffEqJump downstream failure is a dumb test bug (there is apparently a RNG-dependent outcome for a test...).

@SebastianM-C
Copy link
Contributor Author

@isaacsas Thanks, I was not sure what was the problem with that.

@ChrisRackauckas ChrisRackauckas merged commit c128bda into SciML:master Mar 28, 2021
@SebastianM-C SebastianM-C deleted the fix_ambiguity branch March 28, 2021 21:01
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.

None yet

4 participants