Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrik-johansson committed Sep 26, 2024
1 parent b4976c2 commit 6d998ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fmpz_mat/mul_strassen.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void fmpz_mat_mul_strassen(fmpz_mat_t C, const fmpz_mat_t A, const fmpz_mat_t B)
{
fmpz_mat_t Ar, Br, Cr;
fmpz_mat_window_init(Ar, A, 2*anr, 0, a, b);
fmpz_mat_window_init(Cr, C, 2*anr, 0, a, c);
fmpz_mat_window_init(Cr, C, 2*anr, 0, a, 2*bnc);

/* don't compute the overlapping entries twice */
if (c > 2 * bnc)
Expand Down
2 changes: 1 addition & 1 deletion src/gr_mat/mul_strassen.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ int gr_mat_mul_strassen(gr_mat_t C, const gr_mat_t A, const gr_mat_t B, gr_ctx_t
{
gr_mat_t Ar, Br, Cr;
gr_mat_window_init(Ar, A, 2 * anr, 0, ar, ac, ctx);
gr_mat_window_init(Cr, C, 2 * anr, 0, ar, bc, ctx);
gr_mat_window_init(Cr, C, 2 * anr, 0, ar, 2 * bnc, ctx);

/* don't compute the overlapping entries twice */
if (bc > 2 * bnc)
Expand Down

0 comments on commit 6d998ed

Please sign in to comment.