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

feat: support passing arrays of Symbolic to registered functions #1307

Merged

Conversation

AayushSabharwal
Copy link
Contributor

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Oct 16, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 78.91%. Comparing base (8cb25a8) to head (d69d842).
Report is 59 commits behind head on master.

Files with missing lines Patch % Lines
src/wrapper-types.jl 50.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #1307       +/-   ##
===========================================
+ Coverage   30.06%   78.91%   +48.84%     
===========================================
  Files          47       47               
  Lines        4576     4691      +115     
===========================================
+ Hits         1376     3702     +2326     
+ Misses       3200      989     -2211     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines -125 to +128
Ts = (Ts..., # _arr_type_fn(:(Symbolics.SymbolicUtils.Symbolic{<:$eT})),
Ts = (Ts..., _arr_type_fn(:(Symbolics.SymbolicUtils.Symbolic{<:$eT})),
_arr_type_fn(wrapper_type(eT)))
# else
# Ts = (Ts..., _arr_type_fn(:(Symbolics.SymbolicUtils.Symbolic{<:$eT})))
else
Ts = (Ts..., _arr_type_fn(:(Symbolics.SymbolicUtils.Symbolic{<:$eT})))
Copy link
Member

Choose a reason for hiding this comment

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

why was it commented?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm pretty sure I disabled it temporarily in #1197 because of the issues with this (and the AbstractArray{Num}) dispatch for registered Base functions, but forgot to uncomment it once it was resolved.

@ChrisRackauckas ChrisRackauckas merged commit 024a774 into JuliaSymbolics:master Oct 16, 2024
11 of 12 checks passed
@AayushSabharwal AayushSabharwal deleted the as/array-of-symbolics branch October 17, 2024 05:22
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.

3 participants