Add CI stuff
CI / test (push) Failing after 1m18s
CI / benchmark (bun) (push) Skipped
CI / benchmark (deno) (push) Skipped

This commit is contained in:
Schluffe
2026-08-27 12:46:42 +02:00
parent 5c887b585e
commit 196d87eaea
5 changed files with 47 additions and 9 deletions
+1 -3
View File
@@ -20,9 +20,7 @@ export function sweepInterval(
max: number,
): Span | null {
if (v === 0) {
return min <= p && p <= max
? { entry: -Infinity, exit: Infinity }
: null;
return min <= p && p <= max ? { entry: -Infinity, exit: Infinity } : null;
}
let t1 = (min - p) / v;
let t2 = (max - p) / v;