Skip to content

Fix #1002: Raise ValueError when zero matrix is passed to logm()#1017

Merged
skirpichev merged 1 commit into
mpmath:masterfrom
baranwalayush:fix/logm_zero_matrix_bug
Feb 21, 2026
Merged

Fix #1002: Raise ValueError when zero matrix is passed to logm()#1017
skirpichev merged 1 commit into
mpmath:masterfrom
baranwalayush:fix/logm_zero_matrix_bug

Conversation

@baranwalayush

Copy link
Copy Markdown
Contributor

Closes #1002

@skirpichev skirpichev added this to the 1.4 milestone Oct 22, 2025
Comment thread mpmath/matrices/calculus.py
@skirpichev skirpichev modified the milestones: 1.5, 1.4 Feb 21, 2026
@skirpichev skirpichev merged commit c8e1d27 into mpmath:master Feb 21, 2026
14 checks passed
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.

logm() of zero matrix hangs instead of raising error.

2 participants