Skip to content

Commit 2c702f3

Browse files
rcsfgenerate bug fix by C. Y. Chen (#55)
Lines 265 and 315 are changed according to: if (Y(2:2).GE.'1' .AND. Y(2:2).LE.'9') & --> if (Y(2:2).GE.'0' .AND. Y(2:2).LE.'9') & Co-authored-by: Chongyang Chen <chychen@fudan.edu.cn>
1 parent 09e92fd commit 2c702f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/appl/rcsfgenerate90/matain.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ subroutine matain(org, lock, closed, varmax, skal, nmax, anel, par, low, &
262262
if (Y(1:1).GE.'0' .AND. Y(1:1).LE.'9') then
263263
if (org(i,j).GT.0) then
264264
tmp = ICHAR(Y(1:1))-ICHAR('0')
265-
if (Y(2:2).GE.'1' .AND. Y(2:2).LE.'9') &
265+
if (Y(2:2).GE.'0' .AND. Y(2:2).LE.'9') &
266266
tmp = tmp*10 + ICHAR(Y(2:2))-ICHAR('0')
267267
low(i,j) = min(org(i,j),tmp)
268268
endif
@@ -312,7 +312,7 @@ subroutine matain(org, lock, closed, varmax, skal, nmax, anel, par, low, &
312312
if (Y(1:1).GE.'0' .AND. Y(1:1).LE.'9') then
313313
if (org(i,j).GT.0) then
314314
tmp = ICHAR(Y(1:1))-ICHAR('0')
315-
if (Y(2:2).GE.'1' .AND. Y(2:2).LE.'9') &
315+
if (Y(2:2).GE.'0' .AND. Y(2:2).LE.'9') &
316316
tmp = tmp*10 + ICHAR(Y(2:2))-ICHAR('0')
317317
low(i,j) = min(org(i,j),tmp)
318318
endif

0 commit comments

Comments
 (0)