Skip to content

Commit

Permalink
fix: update obsolescent character length declarations in ARPACK Fortr…
Browse files Browse the repository at this point in the history
…an code

fixes #1533
  • Loading branch information
szhorvat authored and krlmlr committed Sep 28, 2024
1 parent 77469c4 commit f9a44df
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/vendor/arpack/dmout.f
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ SUBROUTINE IGRAPHDMOUT( LOUT, M, N, A, LDA, IDIGIT, IFMT )
DOUBLE PRECISION A( LDA, * )
* ..
* .. Local Scalars ..
CHARACTER*80 LINE
CHARACTER LINE*80
INTEGER I, J, K1, K2, LLL, NDIGIT
* ..
* .. Local Arrays ..
Expand Down
2 changes: 1 addition & 1 deletion src/vendor/arpack/dngets.f
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ subroutine igraphdngets ( ishift, which, kev, np, ritzr, ritzi,
c | Scalar Arguments |
c %------------------%
c
character*2 which
character which*2
integer ishift, kev, np
c
c %-----------------%
Expand Down
2 changes: 1 addition & 1 deletion src/vendor/arpack/dsesrt.f
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ subroutine igraphdsesrt (which, apply, n, x, na, a, lda)
c | Scalar Arguments |
c %------------------%
c
character*2 which
character which*2
logical apply
integer lda, n, na
c
Expand Down
2 changes: 1 addition & 1 deletion src/vendor/arpack/dsgets.f
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ subroutine igraphdsgets ( ishift, which, kev, np, ritz, bounds,
c | Scalar Arguments |
c %------------------%
c
character*2 which
character which*2
integer ishift, kev, np
c
c %-----------------%
Expand Down
2 changes: 1 addition & 1 deletion src/vendor/arpack/dsortc.f
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ subroutine igraphdsortc (which, apply, n, xreal, ximag, y)
c | Scalar Arguments |
c %------------------%
c
character*2 which
character which*2
logical apply
integer n
c
Expand Down
2 changes: 1 addition & 1 deletion src/vendor/arpack/dsortr.f
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ subroutine igraphdsortr (which, apply, n, x1, x2)
c | Scalar Arguments |
c %------------------%
c
character*2 which
character which*2
logical apply
integer n
c
Expand Down
2 changes: 1 addition & 1 deletion src/vendor/arpack/dvout.f
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ SUBROUTINE IGRAPHDVOUT( LOUT, N, SX, IDIGIT, IFMT )
DOUBLE PRECISION SX( * )
* ..
* .. Local Scalars ..
CHARACTER*80 LINE
CHARACTER LINE*80
INTEGER I, K1, K2, LLL, NDIGIT
* ..
* .. Intrinsic Functions ..
Expand Down
2 changes: 1 addition & 1 deletion src/vendor/arpack/ivout.f
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SUBROUTINE IGRAPHIVOUT (LOUT, N, IX, IDIGIT, IFMT)
C ...
C ... SPECIFICATIONS FOR LOCAL VARIABLES
INTEGER I, NDIGIT, K1, K2, LLL
CHARACTER*80 LINE
CHARACTER LINE*80
* ...
* ... SPECIFICATIONS INTRINSICS
INTRINSIC MIN
Expand Down
4 changes: 2 additions & 2 deletions src/vendor/arpack/wrap.f
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
c
subroutine igraphxdsortr (which, apply, n, x1, x2)
c
character*2 which
character which*2
integer apply
integer n
Double precision
Expand All @@ -30,7 +30,7 @@ subroutine igraphxdsortr (which, apply, n, x1, x2)
c
subroutine igraphxdsortc (which, apply, n, xreal, ximag, y)
c
character*2 which
character which*2
integer apply
integer n
c
Expand Down

0 comments on commit f9a44df

Please sign in to comment.