Skip to content

Commit

Permalink
Skip update part in pdtrord for current WINDOW if NWIN = 0
Browse files Browse the repository at this point in the history
  • Loading branch information
weslleyspereira committed Jul 26, 2022
1 parent 782e739 commit d6ce945
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SRC/pdtrord.f
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,10 @@ SUBROUTINE PDTRORD( COMPQ, SELECT, PARA, N, T, IT, JT,
ELSE
FLOPS = 0
END IF
*
* Skip update part for current WINDOW if NWIN = 0.
*
IF( NWIN.EQ.0 ) GO TO 295
*
IF( FLOPS.NE.0 .AND.
$ ( FLOPS*100 ) / ( 2*NWIN*NWIN ) .GE. MMULT ) THEN
Expand Down
4 changes: 4 additions & 0 deletions SRC/pstrord.f
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,10 @@ SUBROUTINE PSTRORD( COMPQ, SELECT, PARA, N, T, IT, JT,
ELSE
FLOPS = 0
END IF
*
* Skip update part for current WINDOW if NWIN = 0.
*
IF( NWIN.EQ.0 ) GO TO 295
*
IF( FLOPS.NE.0 .AND.
$ ( FLOPS*100 ) / ( 2*NWIN*NWIN ) .GE. MMULT ) THEN
Expand Down

0 comments on commit d6ce945

Please sign in to comment.