small bug fixes

This commit is contained in:
Jukka Aho
2016-02-05 12:27:36 +02:00
parent 73472b5e70
commit ff6abfc5e8
6 changed files with 79 additions and 49 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ Returns
Ordered list of row indices.
"""
function get_nonzero_rows(A::SparseMatrixCOO)
function get_nonzero_rows(A::SparseMatrixCSC)
# FIXME: This is probably a very inefficient way to do this.
return sort(unique(rowvals(A)))
end