diff options
| author | MZuenni <michi.zuendorf@gmail.com> | 2023-02-14 16:41:24 +0100 |
|---|---|---|
| committer | MZuenni <michi.zuendorf@gmail.com> | 2023-02-14 16:41:24 +0100 |
| commit | eb4bc75111da45a17604fdff2f9eed0977f93dff (patch) | |
| tree | ffd990c0cc12a73c897a6e5c0d8216ce178a78c5 /math/berlekampMassey.cpp | |
| parent | f07738a30c46f0a277af5609a3b4c4b01674ad84 (diff) | |
moved more stuff
Diffstat (limited to 'math/berlekampMassey.cpp')
| -rw-r--r-- | math/berlekampMassey.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/berlekampMassey.cpp b/math/berlekampMassey.cpp index b0c1902..734c07e 100644 --- a/math/berlekampMassey.cpp +++ b/math/berlekampMassey.cpp @@ -19,7 +19,7 @@ vector<ll> BerlekampMassey(const vector<ll>& s) { } if (2 * L > i) continue; L = i + 1 - L; - B = T; + swap(B, T); b = d; m = 0; } |
