Skip to content

Commit 8db97d3

Browse files
Applies changes from @zerothi at #225
1 parent 1fafb88 commit 8db97d3

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

SRC/dlaruv.f

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,11 @@ SUBROUTINE DLARUV( ISEED, N, X )
382382
$ 1537 /
383383
* ..
384384
* .. Executable Statements ..
385+
*
386+
* Quick return for N < 1
387+
IF ( N < 1 ) THEN
388+
RETURN
389+
END IF
385390
*
386391
I1 = ISEED( 1 )
387392
I2 = ISEED( 2 )

SRC/slaruv.f

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,11 @@ SUBROUTINE SLARUV( ISEED, N, X )
382382
$ 1537 /
383383
* ..
384384
* .. Executable Statements ..
385+
*
386+
* Quick return for N < 1
387+
IF ( N < 1 ) THEN
388+
RETURN
389+
END IF
385390
*
386391
I1 = ISEED( 1 )
387392
I2 = ISEED( 2 )

0 commit comments

Comments
 (0)