mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
fit() computed (y + 1) * h in u32, which passes u32::MAX for a plane over 2^32 / max rows; the ABR and pattern parsers' edge caps keep real inputs below that, but the guard lived in another crate. Spans are now computed in u64. gradient_bake::eval indexed stops[0] and stops[i + 1] relying on bake's two-stop check; it now handles an empty or lone stop itself. Same results for every input that worked before. Co-authored-by: Claude Opus 5.5 <[email protected]>