Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed typo in omp reduction statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Oct 4, 2023
1 parent 5e87b55 commit 618ee62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swiftest/swiftest_kick.f90
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ module subroutine swiftest_kick_getacch_int_all_tri_rad_pl(npl, nplm, r, Gmass,
ahj(:,:) = 0.0_DP
!$omp parallel do default(private) schedule(static)&
!$omp shared(npl, nplm, r, Gmass, radius) &
!$omp reduction(+:ahi,j)
!$omp reduction(+:ahi,ahj)
do i = 1, nplm
#ifdef DOCONLOC
do concurrent(j = i+1:npl) shared(i,r,radius,ahi,ahj,Gmass) local(rx,ry,rz,rji2,rlim2)
Expand Down

0 comments on commit 618ee62

Please sign in to comment.