Skip to content

Commit

Permalink
Use S.Zero not integer 0
Browse files Browse the repository at this point in the history
Fixes #1228.
  • Loading branch information
cbm755 committed Sep 6, 2022
1 parent 79d0526 commit ef9744d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/@sym/private/mat_rclist_asgn.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
' elif i < nrows_A and j < ncols_A:'
' return AA[i][j]'
' else:'
' return 0'
' return S.Zero'
'n = max(max(rr) + 1, nrows_A)'
'm = max(max(cc) + 1, ncols_A)'
'MM = [[entry(i, j) for j in range(m)] for i in range(n)]'
Expand Down

0 comments on commit ef9744d

Please sign in to comment.