Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SRC/pcunmrz.f
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ SUBROUTINE PCUNMRZ( SIDE, TRANS, M, N, K, L, A, IA, JA, DESCA,
$ WORK( IPW ) )
10 CONTINUE
*
IF( ( LEFT .AND. .NOT.NOTRAN ) .OR.
$ ( .NOT.LEFT .AND. NOTRAN ) ) THEN

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess these can be replaced with .EQV. for logical equivalence? Simpler?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree it would look simpler. The pattern seems to have been inherited from LAPACK, and used multiple times within the same subroutine.

scalapack/SRC/pcunmrz.f

Lines 379 to 384 in f7edd05

CALL PB_TOPGET( ICTXT, 'Broadcast', 'Columnwise', COLBTOP )
*
IF( ( LEFT .AND. .NOT.NOTRAN ) .OR.
$ ( .NOT.LEFT .AND. NOTRAN ) ) THEN
I1 = MIN( ICEIL( IA, DESCA( MB_ ) ) * DESCA( MB_ ), IA+K-1 )
$ + 1

IF( ( LEFT .AND. NOTRAN ) .OR.
$ ( .NOT.LEFT .AND. .NOT.NOTRAN ) ) THEN
IB = I2 - IA
IF( LEFT ) THEN
MI = M
Expand Down
4 changes: 2 additions & 2 deletions SRC/pdormrz.f
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ SUBROUTINE PDORMRZ( SIDE, TRANS, M, N, K, L, A, IA, JA, DESCA,
$ WORK( IPW ) )
10 CONTINUE
*
IF( ( LEFT .AND. .NOT.NOTRAN ) .OR.
$ ( .NOT.LEFT .AND. NOTRAN ) ) THEN
IF( ( LEFT .AND. NOTRAN ) .OR.
$ ( .NOT.LEFT .AND. .NOT.NOTRAN ) ) THEN
IB = I2 - IA
IF( LEFT ) THEN
MI = M
Expand Down
4 changes: 2 additions & 2 deletions SRC/psormrz.f
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ SUBROUTINE PSORMRZ( SIDE, TRANS, M, N, K, L, A, IA, JA, DESCA,
$ WORK( IPW ) )
10 CONTINUE
*
IF( ( LEFT .AND. .NOT.NOTRAN ) .OR.
$ ( .NOT.LEFT .AND. NOTRAN ) ) THEN
IF( ( LEFT .AND. NOTRAN ) .OR.
$ ( .NOT.LEFT .AND. .NOT.NOTRAN ) ) THEN
IB = I2 - IA
IF( LEFT ) THEN
MI = M
Expand Down
4 changes: 2 additions & 2 deletions SRC/pzunmrz.f
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,8 @@ SUBROUTINE PZUNMRZ( SIDE, TRANS, M, N, K, L, A, IA, JA, DESCA,
$ WORK( IPW ) )
10 CONTINUE
*
IF( ( LEFT .AND. .NOT.NOTRAN ) .OR.
$ ( .NOT.LEFT .AND. NOTRAN ) ) THEN
IF( ( LEFT .AND. NOTRAN ) .OR.
$ ( .NOT.LEFT .AND. .NOT.NOTRAN ) ) THEN
IB = I2 - IA
IF( LEFT ) THEN
MI = M
Expand Down
Loading