Skip to content

Commit b6c3d33

Browse files
putianyi889dlfivefifty
authored andcommitted
Fix a typo (#40)
1 parent a420358 commit b6c3d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ N = M = 4 # number of row/column blocks
2424
cols = rows = 1:N # block sizes
2525

2626
BlockBandedMatrix(Zeros(sum(rows),sum(cols)), (rows,cols), (l,u)) # creates a block-banded matrix of zeros
27-
BlockBandedMatrix(Zeros(sum(rows),sum(cols)), (rows,cols), (l,u)) # creates a block-banded matrix with ones in the non-zero entries
27+
BlockBandedMatrix(Ones(sum(rows),sum(cols)), (rows,cols), (l,u)) # creates a block-banded matrix with ones in the non-zero entries
2828
BlockBandedMatrix(I, (rows,cols), (l,u)) # creates a block-banded identity matrix
2929
```
3030

0 commit comments

Comments
 (0)