Per the previous commit and Julien, this commit came.
Also added documentation of how arguments are tracked in case N==0.
Signed-off-by: Nick Papior <nickpapior@gmail.com>
*> \verbatim
*> N is INTEGER
*> The order of the matrix T. N >= 0.
+*> If N == 0 arguments ILST and IFST may be any value.
*> \endverbatim
*>
*> \param[in,out] T
*> \verbatim
*> N is INTEGER
*> The order of the matrix T. N >= 0.
+*> If N == 0 arguments ILST and IFST may be any value.
*> \endverbatim
*>
*> \param[in,out] T
*> \verbatim
*> N is INTEGER
*> The order of the matrix T. N >= 0.
+*> If N == 0 arguments ILST and IFST may be any value.
*> \endverbatim
*>
*> \param[in,out] T
*> \verbatim
*> N is INTEGER
*> The order of the matrix T. N >= 0.
+*> If N == 0 arguments ILST and IFST may be any value.
*> \endverbatim
*>
*> \param[in,out] T
INFOT = 1
CALL CTREXC( 'X', 1, A, 1, B, 1, IFST, ILST, INFO )
CALL CHKXER( 'CTREXC', INFOT, NOUT, LERR, OK )
+ INFOT = 2
+ CALL CTREXC( 'N', -1, A, 1, B, 1, IFST, ILST, INFO )
+ CALL CHKXER( 'CTREXC', INFOT, NOUT, LERR, OK )
INFOT = 4
ILST = 2
CALL CTREXC( 'N', 2, A, 1, B, 1, IFST, ILST, INFO )
ILST = 2
CALL CTREXC( 'V', 1, A, 1, B, 1, IFST, ILST, INFO )
CALL CHKXER( 'CTREXC', INFOT, NOUT, LERR, OK )
- NT = NT + 7
+ NT = NT + 8
*
* Test CTRSNA
*
INFOT = 1
CALL DTREXC( 'X', 1, A, 1, B, 1, IFST, ILST, WORK, INFO )
CALL CHKXER( 'DTREXC', INFOT, NOUT, LERR, OK )
+ INFOT = 2
+ CALL DTREXC( 'N', -1, A, 1, B, 1, IFST, ILST, WORK, INFO )
+ CALL CHKXER( 'DTREXC', INFOT, NOUT, LERR, OK )
INFOT = 4
ILST = 2
CALL DTREXC( 'N', 2, A, 1, B, 1, IFST, ILST, WORK, INFO )
ILST = 2
CALL DTREXC( 'V', 1, A, 1, B, 1, IFST, ILST, WORK, INFO )
CALL CHKXER( 'DTREXC', INFOT, NOUT, LERR, OK )
- NT = NT + 7
+ NT = NT + 8
*
* Test DTRSNA
*
INFOT = 1
CALL STREXC( 'X', 1, A, 1, B, 1, IFST, ILST, WORK, INFO )
CALL CHKXER( 'STREXC', INFOT, NOUT, LERR, OK )
+ INFOT = 2
+ CALL STREXC( 'N', -1, A, 1, B, 1, IFST, ILST, WORK, INFO )
+ CALL CHKXER( 'STREXC', INFOT, NOUT, LERR, OK )
INFOT = 4
ILST = 2
CALL STREXC( 'N', 2, A, 1, B, 1, IFST, ILST, WORK, INFO )
ILST = 2
CALL STREXC( 'V', 1, A, 1, B, 1, IFST, ILST, WORK, INFO )
CALL CHKXER( 'STREXC', INFOT, NOUT, LERR, OK )
- NT = NT + 7
+ NT = NT + 8
*
* Test STRSNA
*
INFOT = 1
CALL ZTREXC( 'X', 1, A, 1, B, 1, IFST, ILST, INFO )
CALL CHKXER( 'ZTREXC', INFOT, NOUT, LERR, OK )
+ INFOT = 2
+ CALL ZTREXC( 'N', -1, A, 1, B, 1, IFST, ILST, INFO )
+ CALL CHKXER( 'ZTREXC', INFOT, NOUT, LERR, OK )
INFOT = 4
ILST = 2
CALL ZTREXC( 'N', 2, A, 1, B, 1, IFST, ILST, INFO )
ILST = 2
CALL ZTREXC( 'V', 1, A, 1, B, 1, IFST, ILST, INFO )
CALL CHKXER( 'ZTREXC', INFOT, NOUT, LERR, OK )
- NT = NT + 7
+ NT = NT + 8
*
* Test ZTRSNA
*