Skip to content

Commit 985c4d7

Browse files
author
counterclocker
committed
cleaning LLSparseMatrixView
1 parent 580c196 commit 985c4d7

73 files changed

Lines changed: 4880 additions & 286 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cysparse/sparse/ll_mat_matrices/ll_mat.cpx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ YOU HAVE TO DEFINE OR CAST YOUR NEW UNRECOGNIZED COMPLEX TYPE
909909
Counts the nnz specified by row and column indices.
910910

911911
Args:
912-
real_count: If we count the real values stored or if we count the values supposed to be stored. This only
912+
count_only_stored: If we count the real values stored or if we count the values supposed to be stored. This only
913913
applies for symmetric matrices. Do we return the number of nnz stored or the number of elements in the
914914
matrix?
915915

@@ -927,7 +927,7 @@ YOU HAVE TO DEFINE OR CAST YOUR NEW UNRECOGNIZED COMPLEX TYPE
927927

928928
# NON OPTIMIZED CODE (VERY SLOW CODE: O(nnz * nrow * ncol) )
929929

930-
if self.is_symmetric and count_only_stored:
930+
if self.is_symmetric and not count_only_stored:
931931
for i from 0 <= i < self.__nrow:
932932
k = self.root[i]
933933
while k != -1:
@@ -946,7 +946,7 @@ YOU HAVE TO DEFINE OR CAST YOUR NEW UNRECOGNIZED COMPLEX TYPE
946946
k = self.link[k]
947947

948948

949-
else: # non symmetric or count_only_stored == False
949+
else: # non symmetric or count_only_stored == True
950950
for i from 0 <= i < self.__nrow:
951951
k = self.root[i]
952952
while k != -1:

cysparse/sparse/ll_mat_matrices/ll_mat_INT32_t_COMPLEX128_t.c

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cysparse/sparse/ll_mat_matrices/ll_mat_INT32_t_COMPLEX128_t.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ cdef class LLSparseMatrix_INT32_t_COMPLEX128_t(MutableSparseMatrix_INT32_t_COMPL
897897
Counts the nnz specified by row and column indices.
898898
899899
Args:
900-
real_count: If we count the real values stored or if we count the values supposed to be stored. This only
900+
count_only_stored: If we count the real values stored or if we count the values supposed to be stored. This only
901901
applies for symmetric matrices. Do we return the number of nnz stored or the number of elements in the
902902
matrix?
903903
@@ -915,7 +915,7 @@ cdef class LLSparseMatrix_INT32_t_COMPLEX128_t(MutableSparseMatrix_INT32_t_COMPL
915915

916916
# NON OPTIMIZED CODE (VERY SLOW CODE: O(nnz * nrow * ncol) )
917917

918-
if self.is_symmetric and count_only_stored:
918+
if self.is_symmetric and not count_only_stored:
919919
for i from 0 <= i < self.__nrow:
920920
k = self.root[i]
921921
while k != -1:
@@ -934,7 +934,7 @@ cdef class LLSparseMatrix_INT32_t_COMPLEX128_t(MutableSparseMatrix_INT32_t_COMPL
934934
k = self.link[k]
935935

936936

937-
else: # non symmetric or count_only_stored == False
937+
else: # non symmetric or count_only_stored == True
938938
for i from 0 <= i < self.__nrow:
939939
k = self.root[i]
940940
while k != -1:

cysparse/sparse/ll_mat_matrices/ll_mat_INT32_t_COMPLEX256_t.c

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cysparse/sparse/ll_mat_matrices/ll_mat_INT32_t_COMPLEX256_t.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ cdef class LLSparseMatrix_INT32_t_COMPLEX256_t(MutableSparseMatrix_INT32_t_COMPL
897897
Counts the nnz specified by row and column indices.
898898
899899
Args:
900-
real_count: If we count the real values stored or if we count the values supposed to be stored. This only
900+
count_only_stored: If we count the real values stored or if we count the values supposed to be stored. This only
901901
applies for symmetric matrices. Do we return the number of nnz stored or the number of elements in the
902902
matrix?
903903
@@ -915,7 +915,7 @@ cdef class LLSparseMatrix_INT32_t_COMPLEX256_t(MutableSparseMatrix_INT32_t_COMPL
915915

916916
# NON OPTIMIZED CODE (VERY SLOW CODE: O(nnz * nrow * ncol) )
917917

918-
if self.is_symmetric and count_only_stored:
918+
if self.is_symmetric and not count_only_stored:
919919
for i from 0 <= i < self.__nrow:
920920
k = self.root[i]
921921
while k != -1:
@@ -934,7 +934,7 @@ cdef class LLSparseMatrix_INT32_t_COMPLEX256_t(MutableSparseMatrix_INT32_t_COMPL
934934
k = self.link[k]
935935

936936

937-
else: # non symmetric or count_only_stored == False
937+
else: # non symmetric or count_only_stored == True
938938
for i from 0 <= i < self.__nrow:
939939
k = self.root[i]
940940
while k != -1:

cysparse/sparse/ll_mat_matrices/ll_mat_INT32_t_COMPLEX64_t.c

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cysparse/sparse/ll_mat_matrices/ll_mat_INT32_t_COMPLEX64_t.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ cdef class LLSparseMatrix_INT32_t_COMPLEX64_t(MutableSparseMatrix_INT32_t_COMPLE
897897
Counts the nnz specified by row and column indices.
898898
899899
Args:
900-
real_count: If we count the real values stored or if we count the values supposed to be stored. This only
900+
count_only_stored: If we count the real values stored or if we count the values supposed to be stored. This only
901901
applies for symmetric matrices. Do we return the number of nnz stored or the number of elements in the
902902
matrix?
903903
@@ -915,7 +915,7 @@ cdef class LLSparseMatrix_INT32_t_COMPLEX64_t(MutableSparseMatrix_INT32_t_COMPLE
915915

916916
# NON OPTIMIZED CODE (VERY SLOW CODE: O(nnz * nrow * ncol) )
917917

918-
if self.is_symmetric and count_only_stored:
918+
if self.is_symmetric and not count_only_stored:
919919
for i from 0 <= i < self.__nrow:
920920
k = self.root[i]
921921
while k != -1:
@@ -934,7 +934,7 @@ cdef class LLSparseMatrix_INT32_t_COMPLEX64_t(MutableSparseMatrix_INT32_t_COMPLE
934934
k = self.link[k]
935935

936936

937-
else: # non symmetric or count_only_stored == False
937+
else: # non symmetric or count_only_stored == True
938938
for i from 0 <= i < self.__nrow:
939939
k = self.root[i]
940940
while k != -1:

cysparse/sparse/ll_mat_matrices/ll_mat_INT32_t_FLOAT128_t.c

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cysparse/sparse/ll_mat_matrices/ll_mat_INT32_t_FLOAT128_t.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ cdef class LLSparseMatrix_INT32_t_FLOAT128_t(MutableSparseMatrix_INT32_t_FLOAT12
851851
Counts the nnz specified by row and column indices.
852852
853853
Args:
854-
real_count: If we count the real values stored or if we count the values supposed to be stored. This only
854+
count_only_stored: If we count the real values stored or if we count the values supposed to be stored. This only
855855
applies for symmetric matrices. Do we return the number of nnz stored or the number of elements in the
856856
matrix?
857857
@@ -869,7 +869,7 @@ cdef class LLSparseMatrix_INT32_t_FLOAT128_t(MutableSparseMatrix_INT32_t_FLOAT12
869869

870870
# NON OPTIMIZED CODE (VERY SLOW CODE: O(nnz * nrow * ncol) )
871871

872-
if self.is_symmetric and count_only_stored:
872+
if self.is_symmetric and not count_only_stored:
873873
for i from 0 <= i < self.__nrow:
874874
k = self.root[i]
875875
while k != -1:
@@ -888,7 +888,7 @@ cdef class LLSparseMatrix_INT32_t_FLOAT128_t(MutableSparseMatrix_INT32_t_FLOAT12
888888
k = self.link[k]
889889

890890

891-
else: # non symmetric or count_only_stored == False
891+
else: # non symmetric or count_only_stored == True
892892
for i from 0 <= i < self.__nrow:
893893
k = self.root[i]
894894
while k != -1:

cysparse/sparse/ll_mat_matrices/ll_mat_INT32_t_FLOAT32_t.c

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)