Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
william-dawson committed Nov 28, 2023
1 parent d5f533e commit a82d6ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
!$OMP TASK DEFAULT(SHARED), PRIVATE(JJ2, JJ2_range), FIRSTPRIVATE(II)
!! First Align The Data We Are Working With
JJ2_range = matAB%process_grid%number_of_blocks_columns / &
& matAB%process_grid%num_process_slices
& matAB%process_grid%num_process_slices
DO JJ2 = 1, JJ2_range
CALL CopyMatrix(matA%LMAT(II, &
& duplicate_start_column + &
Expand Down Expand Up @@ -156,7 +156,7 @@
!$OMP TASK DEFAULT(SHARED), PRIVATE(II2, II2_range), FIRSTPRIVATE(JJ)
!! First Transpose The Data We Are Working With
II2_range = matAB%process_grid%number_of_blocks_rows / &
& matAB%process_grid%num_process_slices
& matAB%process_grid%num_process_slices
DO II2 = 1, II2_range
CALL TransposeMatrix(matB%LMAT(duplicate_start_row + &
& duplicate_offset_row * (II2 - 1), JJ), &
Expand Down
8 changes: 4 additions & 4 deletions Source/Fortran/distributed_includes/TransposeMatrix.f90
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
& AMat%process_grid%my_slice) THEN
KK = KK + 1
CALL GetTripletAt(tlist, II, trip)
new_list%data(KK)%index_row = trip%index_column
new_list%data(KK)%index_column = trip%index_row
new_list%data(KK)%point_value = trip%point_value
new_list%DATA(KK)%index_row = trip%index_column
new_list%DATA(KK)%index_column = trip%index_row
new_list%DATA(KK)%point_value = trip%point_value
END IF
END DO
CALL DestructTripletList(tlist)
Expand All @@ -33,4 +33,4 @@
CALL DestructMatrix(TransMat)
CALL ConstructEmptyMatrix(TransMat, AMat)
CALL FillMatrixFromTripletList(TransMat, new_list)
CALL DestructTripletList(new_list)
CALL DestructTripletList(new_list)
4 changes: 2 additions & 2 deletions Source/Fortran/eigenexa_includes/EigenToNT.f90
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
DO JJ = col_start, col_end
DO II = row_start, row_end
IF (ABS(VD1(ind + II -1)) .GT. params%threshold) THEN
KK = KK + 1
KK = KK + 1
END IF
END DO
ind = ind + exa%offset
Expand All @@ -39,7 +39,7 @@
IF (ABS(VD1(ind + II -1)) .GT. params%threshold) THEN
KK = KK + 1
ilookup = eigen_translate_l2g(II, exa%proc_rows, exa%rowid)
CALL SetTriplet(triplet_v%data(KK), jlookup, ilookup, &
CALL SetTriplet(triplet_v%DATA(KK), jlookup, ilookup, &
& VD1(ind + II -1))
END IF
END DO
Expand Down

0 comments on commit a82d6ef

Please sign in to comment.