Commit 3ab784c
authored
fix error message in sparse_check (#681)
There was a typo in `sparse_check`, that didn't affect the checking but
led to a nonsensical error message:
```julia
julia> sparse_check(2, [2,1,2], [1], [2])
ERROR: ArgumentError: 1 == colptr[1] != 1
```
With the PR we get:
```julia
julia> sparse_check(2, [2,1,2], [1], [2])
ERROR: ArgumentError: 2 == colptr[1] != 1
```1 parent 5e306ed commit 3ab784c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
| 146 | + | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
0 commit comments