Skip to content

FIX: Enforce sub-matrix shape to all-zero columns being dropped#104

Merged
RUrlus merged 3 commits intoing-bank:masterfrom
RUrlus:empty_col_fix
Apr 9, 2024
Merged

FIX: Enforce sub-matrix shape to all-zero columns being dropped#104
RUrlus merged 3 commits intoing-bank:masterfrom
RUrlus:empty_col_fix

Conversation

@RUrlus
Copy link
Copy Markdown
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
Copy Markdown
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
@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.

2 participants