Skip to content

Commit

Permalink
anemoi: transposed matrix M4 fixing a bug in the paper
Browse files Browse the repository at this point in the history
  • Loading branch information
Vesselin Velichkov committed Oct 21, 2022
1 parent 0dbaea6 commit 96c4c2a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,10 @@ anemoi_permutation_mds(const FieldT g)
}
if (NumStateColumns_L == 4) {
M = {
{1, g2, g2, 1 + g},
{1 + g, g + g2, g2, 1 + 2 * g},
{g, 1 + g, 1, g},
{g, 1 + 2 * g, 1 + g, 1 + g}};
{1, 1 + g, g, g},
{g2, g + g2, 1 + g, 1 + 2 * g},
{g2, g2, 1, 1 + g},
{1 + g, 1 + 2 * g, g, 1 + g}};
return M;
}
// If we are here, then the number of columns NumStateColumns_L has invalid
Expand Down

0 comments on commit 96c4c2a

Please sign in to comment.