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

feat: add error_if_* operators #26

Merged
merged 6 commits into from
Jun 16, 2022
Merged

feat: add error_if_* operators #26

merged 6 commits into from
Jun 16, 2022

Conversation

bvdmitri
Copy link
Member

This PR adds error_if and error_if_not operator that might be useful for some checks (e.g. check NaN in free energy computation in ReactiveMP.jl)

@codecov-commenter
Copy link

codecov-commenter commented Jun 16, 2022

Codecov Report

Merging #26 (25f6f8d) into master (fe134e9) will increase coverage by 0.20%.
The diff coverage is 94.73%.

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   77.88%   78.08%   +0.20%     
==========================================
  Files         115      117       +2     
  Lines        3531     3569      +38     
==========================================
+ Hits         2750     2787      +37     
- Misses        781      782       +1     
Impacted Files Coverage Δ
src/Rocket.jl 100.00% <ø> (ø)
src/operators/error_if.jl 94.59% <94.59%> (ø)
src/operators/error_if_not.jl 100.00% <100.00%> (ø)
src/actor/test.jl 80.36% <0.00%> (+0.36%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fe134e9...25f6f8d. Read the comment docs.

@bvdmitri bvdmitri merged commit 07cf554 into master Jun 16, 2022
@bvdmitri bvdmitri deleted the dev-error-if-operator branch June 16, 2022 14:11
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