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: Enforce sub-matrix shape to all-zero columns being dropped #104

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

RUrlus
Copy link
Collaborator

@RUrlus RUrlus commented Apr 9, 2024

An undocumented change in Scipy 1.13 caused the tests to fail because a column in a sub-matrix contained all zero values.
This is fixed by setting the shape during the matrix creation.

The random seed had to be changed because one of the randomly generated matrices with float precision had two entries with identical values which caused resulted in different ordering of the indices.

@RUrlus RUrlus added the bug label Apr 9, 2024
@RUrlus RUrlus requested a review from mbaak April 9, 2024 13:51
@RUrlus RUrlus self-assigned this Apr 9, 2024
Copy link
Collaborator

@mbaak mbaak left a comment

Choose a reason for hiding this comment

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

LGTM.

@RUrlus RUrlus merged commit 6e9362c into ing-bank:master Apr 9, 2024
32 checks passed
@RUrlus RUrlus deleted the empty_col_fix branch April 9, 2024 14:15
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.

None yet

2 participants