Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 22f36ffb authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Fix corner case where we have a full TT operation

parent b89c9744
No related branches found
No related tags found
1 merge request!20Fix for the TPMQRT routine
......@@ -58,7 +58,7 @@ void morse_pztpgqrt( int L,
int ib, minMT;
/* Dimension of the first column */
int maxm = Q2->m - L;
int maxm = chameleon_max( Q2->m - L, 1 );
int maxmt = (maxm % Q2->mb == 0) ? (maxm / Q2->mb) : (maxm / Q2->mb + 1);
int maxmtk;
......
......@@ -45,7 +45,7 @@ void morse_pztpqrt( int L, MORSE_desc_t *A, MORSE_desc_t *B, MORSE_desc_t *T,
int ib;
/* Dimension of the first column */
int maxm = B->m - L;
int maxm = chameleon_max( B->m - L, 1 );
int maxmt = (maxm % B->mb == 0) ? (maxm / B->mb) : (maxm / B->mb + 1);
morse = morse_context_self();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment