Skip to content

Commit

Permalink
Merge pull request #109 from pbartholomew08/fix-test_sum_intox
Browse files Browse the repository at this point in the history
Fix missing test logic for sum into x
  • Loading branch information
semi-h authored Jul 2, 2024
2 parents 3a75900 + ef168f9 commit 280d415
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_sum_intox.f90
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,7 @@ subroutine runtest(test, dir_from)
call backend%sum_zintox(a, b)
end if

if ((minval(a%data) /= 0) .or. (maxval(a%data) /= 0)) then
check_pass = .false.
end if
check_pass = .not. ((minval(a%data) /= 0) .or. (maxval(a%data) /= 0))
call MPI_Allreduce(MPI_IN_PLACE, check_pass, 1, &
MPI_LOGICAL, MPI_LAND, MPI_COMM_WORLD, &
ierr)
Expand Down

0 comments on commit 280d415

Please sign in to comment.