Constant DFLT_WEIGHT

Source
const DFLT_WEIGHT: i32 = 1;
Expand description

The value to return if a weight parameter is absent.

(If there are no weights at all, then it’s correct to set them all to 1, and just use the bandwidths. If some are present and some are absent, then the spec doesn’t say what to do, but this behavior appears reasonable.)