]> gitweb.michael.orlitzky.com - dunshire.git/commitdiff
Fix a pylint warning in the matrices module.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 1 Nov 2016 17:11:56 +0000 (13:11 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 1 Nov 2016 17:11:56 +0000 (13:11 -0400)
dunshire/matrices.py

index 2d4bb17c98a9187e2cacaa0094ef9c0cfe3c4600..13e8150f5c807914782dbcb49733f36be513912c 100644 (file)
@@ -435,7 +435,7 @@ def condition_number(mat):
 
     """
     num_eigs = min(mat.size)
-    eigs = matrix(0, (num_eigs,1), tc='d')
+    eigs = matrix(0, (num_eigs, 1), tc='d')
     gesdd(mat, eigs)
 
     if len(eigs) > 0: