Skip to content

Commit

Permalink
remove obsolete forall
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Jackson committed Jan 10, 2024
1 parent 17684fc commit 634c75e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/utility.F90
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,11 @@ subroutine utility_zgemmm(a, transa, b, transb, c, transc, prod1, eigval, prod2)

if (present(prod2) .and. present(eigval)) then
! tmp = diag(eigval).tmp
forall (i=1:nb, j=1:mc)
tmp(i, j) = eigval(i)*tmp(i, j)
end forall
do j = 1, mc
do i = 1, nb
tmp(i, j) = eigval(i)*tmp(i, j)
enddo
enddo
! prod2 = op(a).tmp
call utility_zgemm_new(a, tmp, prod2, transa, 'N')
end if
Expand Down

0 comments on commit 634c75e

Please sign in to comment.