Ghostlight/crates/ghostlight
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens dfb3c52b01 Guard the lens draw's divisor directly (L1 c1.s1.f2)
The draw checked `draws()` over the map's values and then divided by a
sum over `Lens::ALL`. Those were two computations that happened to agree:
weakening the guard alone reached a modulo by zero. The draw now sums the
total first and refuses a zero total, as `select_band` does; `draws()`
stays the admission rule and no longer guards the draw.

Builds.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 15:53:04 +02:00
..
src Guard the lens draw's divisor directly (L1 c1.s1.f2) 2026-09-16 15:53:04 +02:00
tests Refuse identical lens weights as no change (L1 c2.s1.f1) 2026-09-16 15:31:09 +02:00
Cargo.toml Give the world library a sealed public boundary 2026-09-16 02:06:07 +02:00