mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 07:43:22 +00:00
Fixed issue in counter
This commit is contained in:
@@ -339,7 +339,7 @@ export class ColossusComputer {
|
|||||||
|
|
||||||
// AND each row to get final result
|
// AND each row to get final result
|
||||||
if (cnt[cPnt] === -1) {
|
if (cnt[cPnt] === -1) {
|
||||||
cnt[cPnt] = result;
|
cnt[cPnt] = (result?1:0);
|
||||||
} else if (result === 0) {
|
} else if (result === 0) {
|
||||||
cnt[cPnt] = 0;
|
cnt[cPnt] = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user