diff options
Diffstat (limited to 'std/testing/diff.ts')
-rw-r--r-- | std/testing/diff.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/testing/diff.ts b/std/testing/diff.ts index dd544ac24..38d632e9a 100644 --- a/std/testing/diff.ts +++ b/std/testing/diff.ts @@ -133,7 +133,7 @@ export default function diff<T>(A: T[], B: T[]): Array<DiffResult<T>> { k: number, M: number ): FarthestPoint { - if (slide && slide.y === -1 && (down && down.y === -1)) + if (slide && slide.y === -1 && down && down.y === -1) return { y: 0, id: 0 }; if ( (down && down.y === -1) || |