Commit 4e9925b
committed
Fix calculation of cdd statistic
For specific ciphertexts the wrong initialization of a variable would
insert undefined state into the internal logic of the 'cdd' statistic.
This lead to many thrown (and catched) excpetions, which decreased the
performance significantly.
An example of such a ciphertext is: 'ooooo' or other sequences of the
same letter.1 parent 7fd66f2 commit 4e9925b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| |||
0 commit comments