-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Keep non-array connector variable collected #296
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #296 +/- ##
==========================================
- Coverage 61.56% 51.57% -9.99%
==========================================
Files 46 46
Lines 1470 1778 +308
==========================================
+ Hits 905 917 +12
- Misses 565 861 +296 ☔ View full report in Codecov by Sentry. |
I think tests might fail here. The reason to not scalarize this is so that the non-scalarized form is available through |
Why is this needed, wouldn't using |
Regarding the test failure here LoadError: Initial condition underdefined. Some are missing from the variable map.
Please provide a default (`u0`), initialization equation, or guess
for the following variables:
Any[P₊input₊u(t)] I have tests passing locally on the https://github.com/AayushSabharwal/ModelingToolkit.jl/tree/as/linearization-initialization branch of MTK so this PR will have to wait on |
tests are passing on MTK master branch |
The PR
Real*Input
andReal*Output
#291was breaking, in particular, the removal of
from
RealInput
andRealOutput
broke Multibody.jlSince we have both
RealInput
andRealInputArray
, where the latter is using symbolic arrays, I propose that we keep the old behavior ofRealInput
intact, i.e., revert the breaking change.