-
Notifications
You must be signed in to change notification settings - Fork 100
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
TermInterface Version 2 #609
base: master
Are you sure you want to change the base?
Conversation
Have to adjust docs |
Benchmark Results
Benchmark PlotsA plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR. |
Co-authored-by: Bowen S. Zhu <bowenzhu@mit.edu>
Co-authored-by: Bowen S. Zhu <bowenzhu@mit.edu>
Co-authored-by: Bowen S. Zhu <bowenzhu@mit.edu>
Co-authored-by: Bowen S. Zhu <bowenzhu@mit.edu>
Co-authored-by: Bowen S. Zhu <bowenzhu@mit.edu>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Term manipulation could change symtype
. If we don't want maketerm
to take symtype
, we should call promote_symtype
but that's a dynamic dispatch and expensive. Should we make symtype
a keyword argument that defaults to promote_symtype
?
Mmmmh. This is specific to |
@YingboMa the issue you've reported makes sense though and should be fixed. Since |
@YingboMa @ChrisRackauckas I'm preparing for conference tomorrow. I can't update at the moment, but happy to do in the next weeks/days if I find some time. |
@bowenszhu is your #615 reliant on this? |
No. It’s not. |
@ChrisRackauckas @YingboMa @bowenszhu ready for review. I think it'll pass CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I wanted to address them one-by-one, but I guess you did already in your MR? I can align to your changes then. |
Yes that PR already went one by one to make the choices so just match that |
I went to the PRs side by side and reverted the non-fundamental |
Co-authored-by: Bowen S. Zhu <bowenzhu@mit.edu>
Ready for review again |
@ChrisRackauckas @bowenszhu any news for this PR? |
@bowenszhu this was addressed |
Hey guys @ChrisRackauckas @bowenszhu ping |
new_st = if pst === Bool | ||
pst | ||
elseif pst === Any || (st === Number && pst <: st) | ||
st | ||
else | ||
pst | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! To ensure we're fully testing the new cases, could we add tests to reach 100% branch coverage here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have any idea for a test structure? Also #565
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.