Skip to content

Commit

Permalink
Use constant with right type
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrack committed Aug 15, 2020
1 parent 251dd57 commit 625d5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/kahan_sum.F
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ PURE FUNCTION kahan_dot_product_z2(array1, array2) RESULT(ks)
COMPLEX(KIND=dp) :: c, t, y
INTEGER :: i1, i2, n1, n2

ks = dzero; t = dzero; y = dzero; c = dzero
ks = zzero; t = zzero; y = zzero; c = zzero

n1 = SIZE(array1, 1)
n2 = SIZE(array1, 2)
Expand Down

0 comments on commit 625d5a9

Please sign in to comment.