File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ def check_column_directions(A, B):
29
29
B [:, i ] = - B [:, i ]
30
30
31
31
32
-
33
32
def find_interval_extreme (total_dimension , n_processor ):
34
33
"""
35
34
Computes the intervals for vector for being scattered.
@@ -160,7 +159,6 @@ def parallel_tridiag_eigen(
160
159
eigvals_right = subcomm .bcast (eigvals_right , root = 0 )
161
160
eigvecs_right = subcomm .bcast (eigvecs_right , root = 0 )
162
161
163
-
164
162
if rank == 0 :
165
163
166
164
# Merge Step
@@ -348,7 +346,6 @@ def parallel_tridiag_eigen(
348
346
# 2) Everyone exchanges counts via allgather:
349
347
recvcounts = comm .allgather (local_count )
350
348
351
-
352
349
final_eig_val = np .empty (D_size , dtype = eig_val .dtype )
353
350
354
351
displs = np .append ([0 ], np .cumulative_sum (recvcounts [:- 1 ]).astype (int ))
@@ -401,7 +398,6 @@ def parallel_eigen(
401
398
)
402
399
return eigvals , eigvecs
403
400
404
-
405
401
406
402
# ORIGINAL DEFLATION IMPLEMENTATION
407
403
# @profile
You can’t perform that action at this time.
0 commit comments