Skip to content

Commit caa4a93

Browse files
committed
minor formatting changes
1 parent 1071334 commit caa4a93

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/bspline_defc_module.f90

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ module bspline_defc_module
8686
! * 920501 Reformatted the REFERENCES section. (WRB)
8787
! * Jacob Williams, 2022 : modernized
8888

89-
9089
subroutine defc(Ndata, Xdata, Ydata, Sddata, Nord, Nbkpt, Bkpt, Mdein, &
9190
Mdeout, Coeff, Lw, w)
9291

@@ -456,6 +455,7 @@ subroutine defcmn(Ndata, Xdata, Ydata, Sddata, Nord, Nbkpt, Bkptin, &
456455
!
457456
call dbndsl(1, g, Mdg, Nord, ip, ir, Coeff, n, rnorm)
458457
Mdeout = 1
458+
459459
end subroutine defcmn
460460
!*****************************************************************************************
461461

@@ -705,8 +705,8 @@ subroutine dbndac(g, Mdg, Nb, Ip, Ir, Mt, Jt)
705705
nerr = 1
706706
iopt = 2
707707
write (*, *) 'MDG<IR, PROBABLE ERROR.'
708-
return
709708
end if
709+
710710
end subroutine dbndac
711711
!*****************************************************************************************
712712

@@ -956,6 +956,7 @@ subroutine dbndsl(Mode, g, Mdg, Nb, Ip, Ir, x, n, Rnorm)
956956
nerr = 1
957957
iopt = 2
958958
write (*, *) 'A ZERO DIAGONAL TERM IS IN THE N BY N UPPER TRIANGULAR MATRIX.'
959+
959960
end subroutine dbndsl
960961
!*****************************************************************************************
961962

@@ -972,11 +973,11 @@ end subroutine dbndsl
972973

973974
subroutine dfspvn(t, Jhigh, Index, x, Ileft, Vnikx, j, deltam, deltap)
974975

975-
real(wp) :: t(*)
976-
integer :: Jhigh
977-
integer :: Index
978-
real(wp) :: x
979-
integer :: Ileft
976+
real(wp),intent(in) :: t(*)
977+
integer,intent(in) :: Jhigh
978+
integer,intent(in) :: Index
979+
real(wp),intent(in) :: x
980+
integer,intent(in) :: Ileft
980981
real(wp) :: Vnikx(*)
981982
integer, intent(inout) :: j !! JW : added
982983
real(wp), dimension(20), intent(inout) :: deltam, deltap !! JW : added
@@ -1130,6 +1131,7 @@ subroutine dh12(Mode, Lpivot, l1, m, u, Iue, Up, c, Ice, Icv, Ncv)
11301131
end if
11311132
end if
11321133
end if
1134+
11331135
end subroutine dh12
11341136
!*****************************************************************************************
11351137

@@ -1257,6 +1259,7 @@ subroutine partition(ilow, ihigh, ipivot)
12571259
end subroutine partition
12581260

12591261
subroutine swap(v1, v2)
1262+
!! swap two real values
12601263
real(wp), intent(inout) :: v1
12611264
real(wp), intent(inout) :: v2
12621265
real(wp) :: tmp

0 commit comments

Comments
 (0)