diff options
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; } |
