Skip to content

remove input annotations on RealInput #115

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

Closed
wants to merge 1 commit into from

Conversation

baggepinnen
Copy link
Contributor

@baggepinnen baggepinnen commented Oct 4, 2022

This does not work as intended since the annotated variable resides inside a system without internal connections. Until MTK has more formally specified semantics for causal connections, we rely on the explicit passing of input variables to all functions that require it, such as linearize.

@ValentinKaisermayer

This PR should resolve #49 (comment)

This does not work as intended since the annotated variable resides inside a system without internal connections. Until MTK has more formally specified semantics for causal connections, we rely on the explicit passing of input variables to all functions that require it, such as linearize.
@codecov
Copy link

codecov bot commented Oct 4, 2022

Codecov Report

Merging #115 (b4605e8) into main (2b53d55) will increase coverage by 2.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #115      +/-   ##
==========================================
+ Coverage   68.03%   70.17%   +2.13%     
==========================================
  Files          25       25              
  Lines        1214     1177      -37     
==========================================
  Hits          826      826              
+ Misses        388      351      -37     
Impacted Files Coverage Δ
src/Blocks/utils.jl 61.53% <100.00%> (ø)
src/Blocks/math.jl 100.00% <0.00%> (+6.17%) ⬆️
src/Blocks/sources.jl 100.00% <0.00%> (+7.54%) ⬆️
src/Mechanical/Rotational/components.jl 100.00% <0.00%> (+11.11%) ⬆️
src/Electrical/utils.jl 76.19% <0.00%> (+12.19%) ⬆️
src/Mechanical/Rotational/utils.jl 92.30% <0.00%> (+18.83%) ⬆️
src/Thermal/HeatTransfer/sources.jl 100.00% <0.00%> (+19.23%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@YingboMa
Copy link
Member

YingboMa commented Oct 5, 2022

We should fix this in MTK instead.

@YingboMa YingboMa closed this Oct 5, 2022
@ValentinKaisermayer
Copy link
Contributor

There is already a long lasting issue about this: SciML/ModelingToolkit.jl#1577

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