Conversation
If `ArraySymbolic` `is_observed` forward directly to `observed` instead of collecting first.
AayushSabharwal
left a comment
There was a problem hiding this comment.
Looks good! Just needs a minor change and some tests. Thanks for the PR
|
I removed the tuple stuff and added some tests to ensure that |
|
I just ran into some edge case that is tested in SciMLBase downstream in my own work. It will be broken by the changes in this PR. Could you refactor the check in |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #81 +/- ##
===========================================
- Coverage 86.15% 27.79% -58.37%
===========================================
Files 11 11
Lines 513 518 +5
===========================================
- Hits 442 144 -298
- Misses 71 374 +303
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I guess you're referring to
My PR tries to apply the same behavior to SymbolicIndexingInterface.jl/src/state_indexing.jl Lines 147 to 170 in c9c7b6c So I am not sure what happens in your edge cases, but maybe |
|
The problem is that if you have an I'll check this case with your PR shortly, since it might just not break inference in which case it's mostly fine. |
If
is_observedreturns true forArraySymbolic, forward directly toobservedinstead of collecting first.Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.