Commit d37a07fe authored by Mathieu Faverge's avatar Mathieu Faverge

Remove extra parentheses

parent 24afeddf
......@@ -111,7 +111,7 @@ int MORSE_zgeadd( MORSE_enum trans, int M, int N,
}
/* Check input arguments */
if (((trans < MorseNoTrans) || (trans > MorseConjTrans))) {
if ((trans < MorseNoTrans) || (trans > MorseConjTrans)) {
morse_error("MORSE_zgeadd", "illegal value of trans");
return -1;
}
......@@ -324,7 +324,7 @@ int MORSE_zgeadd_Tile_Async( MORSE_enum trans,
return morse_request_fail(sequence, request, MORSE_ERR_ILLEGAL_VALUE);
}
/* Check input arguments */
if (((trans < MorseNoTrans) || (trans > MorseConjTrans))) {
if ((trans < MorseNoTrans) || (trans > MorseConjTrans)) {
morse_error("MORSE_zgeadd_Tile_Async", "illegal value of trans");
return morse_request_fail(sequence, request, -1);
}
......
......@@ -152,11 +152,11 @@ int MORSE_zgemm( MORSE_enum transA, MORSE_enum transB, int M, int N, int K,
}
/* Check input arguments */
if (((transA < MorseNoTrans) || (transA > MorseConjTrans))) {
if ((transA < MorseNoTrans) || (transA > MorseConjTrans)) {
morse_error("MORSE_zgemm", "illegal value of transA");
return -1;
}
if (((transB < MorseNoTrans) || (transB > MorseConjTrans))) {
if ((transB < MorseNoTrans) || (transB > MorseConjTrans)) {
morse_error("MORSE_zgemm", "illegal value of transB");
return -2;
}
......@@ -401,11 +401,11 @@ int MORSE_zgemm_Tile_Async( MORSE_enum transA, MORSE_enum transB,
return morse_request_fail(sequence, request, MORSE_ERR_ILLEGAL_VALUE);
}
/* Check input arguments */
if (((transA < MorseNoTrans) || (transA > MorseConjTrans))) {
if ((transA < MorseNoTrans) || (transA > MorseConjTrans)) {
morse_error("MORSE_zgemm_Tile_Async", "illegal value of transA");
return morse_request_fail(sequence, request, -1);
}
if (((transB < MorseNoTrans) || (transB > MorseConjTrans))) {
if ((transB < MorseNoTrans) || (transB > MorseConjTrans)) {
morse_error("MORSE_zgemm_Tile_Async", "illegal value of transB");
return morse_request_fail(sequence, request, -2);
}
......
......@@ -121,7 +121,7 @@ int MORSE_ztradd( MORSE_enum uplo, MORSE_enum trans, int M, int N,
morse_error("MORSE_ztradd", "illegal value of uplo");
return -1;
}
if (((trans < MorseNoTrans) || (trans > MorseConjTrans))) {
if ((trans < MorseNoTrans) || (trans > MorseConjTrans)) {
morse_error("MORSE_ztradd", "illegal value of trans");
return -2;
}
......@@ -340,7 +340,7 @@ int MORSE_ztradd_Tile_Async( MORSE_enum uplo, MORSE_enum trans,
return morse_request_fail(sequence, request, MORSE_ERR_ILLEGAL_VALUE);
}
/* Check input arguments */
if (((trans < MorseNoTrans) || (trans > MorseConjTrans))) {
if ((trans < MorseNoTrans) || (trans > MorseConjTrans)) {
morse_error("MORSE_ztradd_Tile_Async", "illegal value of trans");
return morse_request_fail(sequence, request, -1);
}
......
......@@ -371,7 +371,7 @@ int MORSE_ztrmm_Tile_Async( MORSE_enum side, MORSE_enum uplo,
morse_error("MORSE_ztrmm_Tile", "illegal value of uplo");
return morse_request_fail(sequence, request, -2);
}
if (((transA < MorseNoTrans) || (transA > MorseConjTrans))) {
if ((transA < MorseNoTrans) || (transA > MorseConjTrans)) {
morse_error("MORSE_ztrmm_Tile", "illegal value of transA");
return morse_request_fail(sequence, request, -3);
}
......
......@@ -369,7 +369,7 @@ int MORSE_ztrsm_Tile_Async( MORSE_enum side, MORSE_enum uplo,
morse_error("MORSE_ztrsm_Tile", "illegal value of uplo");
return morse_request_fail(sequence, request, -2);
}
if (((transA < MorseNoTrans) || (transA > MorseConjTrans))) {
if ((transA < MorseNoTrans) || (transA > MorseConjTrans)) {
morse_error("MORSE_ztrsm_Tile", "illegal value of transA");
return morse_request_fail(sequence, request, -3);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment