Skip to content

Commit

Permalink
compute propagator for each block of block-diagonal system matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
C.A.P. Linssen committed Nov 21, 2024
1 parent 55d29b4 commit c176e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odetoolbox/system_of_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_block_diagonal_blocks(A):
assert A.shape[0] == A.shape[1], "matrix A should be square"

N = A.shape[0]

# A_mirrored = (A + A.T).applyfunc(_is_zero) # make the matrix symmetric so we only have to check one triangle
A_mirrored = (A + A.T) != 0 # make the matrix symmetric so we only have to check one triangle

Expand Down

0 comments on commit c176e6c

Please sign in to comment.