Skip to content

Commit 4532b91

Browse files
authored
Merge pull request SlicerDMRI#245 from hfxcarl/patch-1
Minor bug fix in cluster.py
2 parents 710b955 + 925f33e commit 4532b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

whitematteranalysis/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def spectral(input_polydata, number_of_clusters=200,
300300
print(f"<{os.path.basename(__file__)}> Eigenvalue range of A: {e_val[0]} {e_val[-1]}")
301301
A2 = nearPSD(A)
302302
e_val, e_vec = np.linalg.eigh(A2)
303-
print(f"<{os.path.basename(__file__)}> Eigenvalue range of nearest PSD matrix to A: {e_val[0]} e{_val[-1]}")
303+
print(f"<{os.path.basename(__file__)}> Eigenvalue range of nearest PSD matrix to A: {e_val[0]} {e_val[-1]}")
304304
testval = np.max(A-A2)
305305
if not testval == 0.0:
306306
print(f"<{os.path.basename(__file__)}> A matrix differs by PSD matrix by maximum of: {testval}")

0 commit comments

Comments
 (0)