Skip to content

Commit ef7b9e4

Browse files
committed
Fix bug in qinit from xi and yj not being declared real(kind=8)
1 parent 686c733 commit ef7b9e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/advection_2d_inflow/qinit.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ subroutine qinit(meqn,mbc,mx,my,xlower,ylower,dx,dy,q,maux,aux)
1010
real(kind=8), intent(in out) :: q(meqn, 1-mbc:mx+mbc, 1-mbc:my+mbc)
1111
real(kind=8), intent(in out) :: aux(maux, 1-mbc:mx+mbc, 1-mbc:my+mbc)
1212

13+
real(kind=8) :: xi, yj
1314
real(kind=8), external :: qtrue
1415

1516
! set concentration profile
@@ -21,4 +22,4 @@ subroutine qinit(meqn,mbc,mx,my,xlower,ylower,dx,dy,q,maux,aux)
2122
end do
2223
end do
2324

24-
end subroutine qinit
25+
end subroutine qinit

0 commit comments

Comments
 (0)