Skip to content

Fix sum to restore v1.8 behavior of using type of init in sum reduction - #381

Merged
odow merged 1 commit into
mainfrom
od/fix-sum
Oct 27, 2026
Merged

odow merged 1 commit into
mainfrom
od/fix-sum

Conversation

@odow

@odow odow commented Oct 27, 2026

Copy link
Copy Markdown
Member

Closes #380

Base doesn't really say what should happen here. But lots of packages in MOI's downstream tests were relying on init promoting MOI.VariableIndex (and other types).

@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@6023989). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #381   +/-   ##
=======================================
  Coverage        ?   92.04%           
=======================================
  Files           ?       23           
  Lines           ?     2375           
  Branches        ?        0           
=======================================
  Hits            ?     2186           
  Misses          ?      189           
  Partials        ?        0           

☔ View full report in Codecov by Harness.
📢 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.

@odow
odow merged commit 04c0c2c into main Oct 27, 2026
13 checks passed
@odow
odow deleted the od/fix-sum branch October 27, 2026 20:35
@blegat

blegat commented Oct 28, 2026

Copy link
Copy Markdown
Member

Weird that we didn't detect it in the regression run, is there no test in MOI and JuMP using that ?

@odow

odow commented Oct 28, 2026

Copy link
Copy Markdown
Member Author

I don't think so. I noticed only in the solver-tests. We should add one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

v1.9 broke lots of packages

2 participants