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

use IfElse.jl for Julia 1.6" #253

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paulflang
Copy link
Collaborator

I could imagine that #251 fails on Julia 1.6, because it requires IfElse.jl. Let's see if CI passes for this.

@codecov
Copy link

codecov bot commented Jul 18, 2023

Codecov Report

Patch coverage has no change and project coverage change: +2.24 🎉

Comparison is base (4eed5fa) 92.37% compared to head (aa8856e) 94.62%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #253      +/-   ##
==========================================
+ Coverage   92.37%   94.62%   +2.24%     
==========================================
  Files          10       10              
  Lines         748      818      +70     
==========================================
+ Hits          691      774      +83     
+ Misses         57       44      -13     
Impacted Files Coverage Δ
src/interpret.jl 77.41% <0.00%> (-0.36%) ⬇️

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@paulflang paulflang marked this pull request as ready for review July 18, 2023 20:12
@@ -7,7 +7,7 @@ function sbmlPiecewise(args...)
elseif length(args) >= 3
IfElse.ifelse(args[2], args[1], sbmlPiecewise(args[3:end]...))
else
throw(DomainError(args, "malformed piecewise SBML function"))
IfElse.ifelse(args[2], args[1], NaN)
Copy link
Collaborator

Choose a reason for hiding this comment

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

this could work but we need an user-supplied "bottom" value instead of the NaN here.

Does IfElse have anything like that?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not that I am aware of.

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