Skip to content

Add support to specify constraints macros inline for submodels#302

Merged
bvdmitri merged 3 commits into
mainfrom
inline_constraints
May 14, 2026
Merged

Add support to specify constraints macros inline for submodels#302
bvdmitri merged 3 commits into
mainfrom
inline_constraints

Conversation

@ofSingularMind
Copy link
Copy Markdown
Contributor

Simple patch :)

@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.58%. Comparing base (6c2c094) to head (bcb9295).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #302      +/-   ##
==========================================
+ Coverage   90.56%   90.58%   +0.02%     
==========================================
  Files          16       16              
  Lines        2184     2189       +5     
==========================================
+ Hits         1978     1983       +5     
  Misses        206      206              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bvdmitri
Copy link
Copy Markdown
Member

both this one and ReactiveBayes/RxInfer.jl#653 should update the documentation and explain how to use this feature with examples

@bvdmitri
Copy link
Copy Markdown
Member

E.g. we have syntax which is documented

@constraints begin 
      for q in submodel 
         ...
      end
end

is that not enough for your use case?

@bvdmitri bvdmitri merged commit eb1534d into main May 14, 2026
8 checks passed
@bvdmitri bvdmitri deleted the inline_constraints branch May 14, 2026 10:59
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