Skip to content

fix: guard single-value continuous col width#41

Merged
mcanouil merged 2 commits into
mainfrom
fix/geom-col-single-value
May 27, 2026
Merged

fix: guard single-value continuous col width#41
mcanouil merged 2 commits into
mainfrom
fix/geom-col-single-value

Conversation

@mcanouil
Copy link
Copy Markdown
Owner

geom-col on a continuous x where every row shares one value (with a non-degenerate domain) panicked on calc.min() with no arguments.

  • Guard on the deduped value count before computing the gap-based width.

@mcanouil mcanouil added the Type: Bug 🐛 Issues related to bugs, errors, or mistakes label May 27, 2026
@mcanouil mcanouil self-assigned this May 27, 2026
@mcanouil mcanouil force-pushed the fix/geom-col-single-value branch from b4b5244 to f3ded61 Compare May 27, 2026 20:13
@mcanouil mcanouil merged commit 45415fe into main May 27, 2026
3 of 4 checks passed
@mcanouil mcanouil deleted the fix/geom-col-single-value branch May 27, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug 🐛 Issues related to bugs, errors, or mistakes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant