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

Work on summation inference #49

Merged
merged 11 commits into from
Jun 24, 2024
Merged

Work on summation inference #49

merged 11 commits into from
Jun 24, 2024

Conversation

GeorgeR227
Copy link
Contributor

Cleans up the summation inference code. This will now only propagate form types and do basic type checking.

This will now only propagate form types. If a single form is present then this will be inferred. If there are no forms then we skip and if there are multiple forms we error.
Copy link

codecov bot commented Jun 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.68%. Comparing base (41df8de) to head (ecfe809).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
+ Coverage   84.62%   84.68%   +0.06%     
==========================================
  Files          12       12              
  Lines         761      764       +3     
==========================================
+ Hits          644      647       +3     
  Misses        117      117              

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

This brings its function signature more in line with the other inference applications.
@GeorgeR227 GeorgeR227 requested a review from lukem12345 June 21, 2024 19:23
src/acset.jl Outdated Show resolved Hide resolved
I'm testing the use of getter functions to return us type groups to avoid us having to type them out. We can add more groups if needed.
@GeorgeR227 GeorgeR227 requested a review from lukem12345 June 24, 2024 17:56
src/acset.jl Outdated Show resolved Hide resolved
src/acset.jl Outdated Show resolved Hide resolved
test/language.jl Outdated Show resolved Hide resolved
test/language.jl Outdated Show resolved Hide resolved
test/language.jl Outdated Show resolved Hide resolved
src/acset.jl Show resolved Hide resolved
src/acset.jl Show resolved Hide resolved
src/acset.jl Show resolved Hide resolved
src/acset.jl Show resolved Hide resolved
@lukem12345
Copy link
Member

We can clean up the setting of the applied variable by using helper functions for Op1 and Op2 inference like we do for Summations, but it's ok for now.

@GeorgeR227 GeorgeR227 merged commit 12edc3a into main Jun 24, 2024
10 checks passed
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