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

Fix redund and removehredundancy! #54

Closed
wants to merge 6 commits into from
Closed

Fix redund and removehredundancy! #54

wants to merge 6 commits into from

Conversation

oyamad
Copy link
Member

@oyamad oyamad commented Jan 18, 2025

Fix #52

Tests should fail for this commit
@oyamad oyamad mentioned this pull request Jan 18, 2025
@oyamad oyamad added the bug label Jan 21, 2025
@oyamad oyamad changed the title [DO NOT MERGE] Add 1 to ineq in redund Fix redund and removehredundancy! Jan 21, 2025
@@ -31,7 +31,7 @@ function redund(m::RepMatrix)

status = checkindex(m, index)
if :redundant == checkindex(m, index)
push!(redset, ineq)
push!(redset, ineq + 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we need here something like m isa VMatrix ? ineq + 1 : ineq

@blegat
Copy link
Member

blegat commented Jan 21, 2025

Superseeded by #53

@blegat blegat closed this Jan 21, 2025
@oyamad oyamad deleted the redund-2 branch January 21, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: removevredundancy! removes wrong row
2 participants