Skip to content

Commit f063ad4

Browse files
authored
Merge pull request #15062 from rmcdermo/master
FDS Source: fix uninitialized ramp values and array declarations
2 parents 6fe5509 + c8214d3 commit f063ad4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Source/pois.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4511,7 +4511,7 @@ SUBROUTINE SSWAP(N,SX,INCX,SY,INCY)
45114511
INTEGER :: N
45124512
INTEGER :: INCX
45134513
INTEGER :: INCY
4514-
REAL(EB) SX(1),SY(1),STEMP1,STEMP2,STEMP3
4514+
REAL(EB) SX(*),SY(*),STEMP1,STEMP2,STEMP3
45154515
INTEGER :: I, IX, IY, M, MP1, NS
45164516

45174517
!***FIRST EXECUTABLE STATEMENT SSWAP

Source/read.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10338,6 +10338,8 @@ SUBROUTINE READ_RAMP
1033810338
CTRL_ID = 'null'
1033910339
X = -1.E6_EB
1034010340
Z = -1.E6_EB
10341+
T = 0._EB
10342+
F = 1._EB
1034110343
CALL CHECKREAD('RAMP',LU_INPUT,IOS) ; IF (STOP_STATUS==SETUP_STOP) RETURN
1034210344
IF (IOS==1) EXIT SEARCH_LOOP2
1034310345
READ(LU_INPUT,RAMP)

0 commit comments

Comments
 (0)