Skip to content

Commit 1a914dd

Browse files
hsnyderawvwgk
andauthored
Update src/stdlib_quadrature_gauss.f90
Co-authored-by: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com>
1 parent 56822b5 commit 1a914dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stdlib_quadrature_gauss.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pure module subroutine gauss_legendre_fp64 (x, w, interval)
2626
integer :: i,j
2727
real(dp) :: leg, dleg, delta
2828

29-
do i = 0, int(floor((N+1)/2._dp)-1)
29+
do i = 0, (N+1)/2-1
3030
x(i+1) = -cos((2*i+1)/(2._dp*N+2._dp) * PI)
3131
do j = 0, newton_iters-1
3232
leg = legendre(N+1,x(i+1))

0 commit comments

Comments
 (0)