thread 'main' panicked at 'internal error: entered unreachable code', /home/andre/projects/synth/core/src/schema/content/categorical.rs:82:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Expected behavior
The single category should be used regardless of weight and also a warning about a single-variant categorical should be emitted.
Environment (please complete the following information):
Describe the bug WIth a
categorical
containing only one variant with a weight of0
, we happen upon anunreachable
error.To Reproduce Steps to reproduce the behavior:
Expected behavior The single category should be used regardless of weight and also a warning about a single-variant categorical should be emitted.
Environment (please complete the following information):