Skip to content

Cast Utildeg to boolean after matrix multiplication#5

Open
chiggum wants to merge 1 commit into
feature/global-distortionfrom
chiggum-patch-2
Open

Cast Utildeg to boolean after matrix multiplication#5
chiggum wants to merge 1 commit into
feature/global-distortionfrom
chiggum-patch-2

Conversation

@chiggum

@chiggum chiggum commented May 4, 2026

Copy link
Copy Markdown
Collaborator

C and Ug are boolean sparse matrices. On my end, scipy is resulting a matrix with int data type with summed values (treating True as ones) instead of OR. Casting into boolean dtype gives back OR-ed values.

C and Ug are boolean sparse matrices. On my end, scipy is resulting a matrix with int data type with summed values (treating True as ones) instead of OR. Casting into boolean dtype gives back OR-ed values.
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.

1 participant