Skip to content

Commit 7761a6e

Browse files
Merge pull request #22 from jacobwilliams/21-bug-fix
fixed bug in dqnc79.
2 parents a83a344 + 022f7a4 commit 7761a6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/quadpack_generic.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7827,8 +7827,8 @@ subroutine dqnc79(fun,a,b,err,ans,ierr,k)
78277827
procedure(func) :: fun !! function subprogram defining the integrand function `f(x)`.
78287828
real(wp),intent(in) :: a !! lower limit of integration
78297829
real(wp),intent(in) :: b !! upper limit of integration (may be less than `A`)
7830-
real(wp),intent(out) :: err !! a requested error tolerance. Normally, pick a value
7831-
!! `0 < ERR < 1.0e-8`.
7830+
real(wp),intent(in) :: err !! a requested error tolerance. Normally, pick a value
7831+
!! `0 < ERR < 1.0e-8`.
78327832
real(wp),intent(out) :: ans !! computed value of the integral. Hopefully, `ANS` is
78337833
!! accurate to within `ERR *` integral of `ABS(FUN(X))`.
78347834
integer,intent(out) :: ierr !! a status code:

0 commit comments

Comments
 (0)