def fit.pick

bend-parallel@0.1.0.0 · histogram.bend:69

import bend-parallel@0.1.0.0/histogram.bend as Histogram
import Base

69def fit.pick(ok: Bool, +d: Nat, t: Array<U32>) -> Array<U32>:
70  match ok:
71    case True{}:
72      t
73    case False{}:
74      Array.new(U32, d, 0)

Uses (5)

Used by (2)