Skip to content

add symcheck macro #161

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

Merged
merged 6 commits into from
Apr 25, 2023
Merged

add symcheck macro #161

merged 6 commits into from
Apr 25, 2023

Conversation

baggepinnen
Copy link
Contributor

and apply it to several argument checks. This macro skips the check in case the input argument is a symbolic variable, in which case a non-boolean would have been used in a boolean context.

@codecov
Copy link

codecov bot commented Apr 25, 2023

Codecov Report

Merging #161 (fd4353d) into main (87b07ad) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
+ Coverage   60.23%   60.27%   +0.04%     
==========================================
  Files          40       41       +1     
  Lines        1818     1820       +2     
==========================================
+ Hits         1095     1097       +2     
  Misses        723      723              
Impacted Files Coverage Δ
src/Blocks/continuous.jl 92.85% <100.00%> (ø)
src/Blocks/nonlinear.jl 88.00% <100.00%> (ø)
src/Mechanical/Rotational/components.jl 87.23% <100.00%> (ø)
src/ModelingToolkitStandardLibrary.jl 100.00% <100.00%> (ø)

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

@YingboMa YingboMa merged commit 352776c into main Apr 25, 2023
@YingboMa YingboMa deleted the fb/symcheck branch April 25, 2023 15:23
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.

2 participants