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

Support conditional statements in @mtkmodel #2319

Merged
merged 9 commits into from
Nov 29, 2023

feat: support ternary operators inside the `@equations`

8b75e01
Select commit
Loading
Failed to load commit list.
Merged

Support conditional statements in @mtkmodel #2319

feat: support ternary operators inside the `@equations`
8b75e01
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Nov 19, 2023 in 0s

89.49% of diff hit (target 81.05%)

View this Pull Request on Codecov

89.49% of diff hit (target 81.05%)

Annotations

Check warning on line 62 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L62

Added line #L62 was not covered by tests

Check warning on line 151 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L151

Added line #L151 was not covered by tests

Check warning on line 170 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L170

Added line #L170 was not covered by tests

Check warning on line 452 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L451-L452

Added lines #L451 - L452 were not covered by tests

Check warning on line 461 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L461

Added line #L461 was not covered by tests

Check warning on line 510 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L509-L510

Added lines #L509 - L510 were not covered by tests

Check warning on line 516 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L515-L516

Added lines #L515 - L516 were not covered by tests

Check warning on line 600 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L597-L600

Added lines #L597 - L600 were not covered by tests

Check warning on line 609 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L609

Added line #L609 was not covered by tests

Check warning on line 667 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L667

Added line #L667 was not covered by tests

Check warning on line 684 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L684

Added line #L684 was not covered by tests

Check warning on line 697 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L697

Added line #L697 was not covered by tests

Check warning on line 707 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L707

Added line #L707 was not covered by tests

Check warning on line 759 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L759

Added line #L759 was not covered by tests

Check warning on line 765 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L765

Added line #L765 was not covered by tests

Check warning on line 768 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L768

Added line #L768 was not covered by tests

Check warning on line 794 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L794

Added line #L794 was not covered by tests

Check warning on line 798 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L798

Added line #L798 was not covered by tests

Check warning on line 818 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L818

Added line #L818 was not covered by tests

Check warning on line 838 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L838

Added line #L838 was not covered by tests

Check warning on line 843 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L843

Added line #L843 was not covered by tests

Check warning on line 849 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L849

Added line #L849 was not covered by tests

Check warning on line 854 in src/systems/model_parsing.jl

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/systems/model_parsing.jl#L854

Added line #L854 was not covered by tests