Hi,
thread 'tokio-runtime-worker' panicked at 'called Option::unwrap()
on a None
value', quantogram/src/lib.rs:724:22
printed just before:
println!(
"low_fine_index:${} high_fine_index:${} remainder:${} fine_bins:${:?}",
low_fine_index, high_fine_index, remainder, &self.fine_bins
);
let (_fine_index, _remainder2, sample_at_quantile) =
Self::find_containing_bucket_in_range(
low_fine_index,
high_fine_index,
remainder,
&self.fine_bins,
)
.unwrap();
low_fine_index:$-4059 high_fine_index:$-4025 remainder:$2.5 fine_bins:$[(-4289, HistogramBin { sample: -0.09015804437825221, weight: 2.0 }), (-4288, HistogramBin { sample: -0.08839023958652178, weight: 2.0 }), (-4287, HistogramBin { sample: -0.08716474206939903, weight: 1.0 }), (-4285, HistogramBin { sample: -0.0832920969183438, weight: 2.0 }), (-4284, HistogramBin { sample: -0.08165496831179346, weight: 1.0 }), (-4283, HistogramBin { sample: -0.08005776328176067, weight: 6.0 }), (-4282, HistogramBin { sample: -0.07848800321741241, weight: 9.0 }), (-4281, HistogramBin { sample: -0.07694902276216904, weight: 10.0 }), (-4280, HistogramBin { sample: -0.07544021839428337, weight: 12.0 }), (-4279, HistogramBin { sample: -0.073960998425768, weight: 8.0 }), (-4278, HistogramBin { sample: -0.0725107827703608, weight: 7.0 }), (-4277, HistogramBin { sample: -0.07108900271604, weight: 4.0 }), (-4276, HistogramBin { sample: -0.069695100702, weight: 7.0 }), (-4275, HistogramBin { sample: -0.0683285301, weight: 6.0 }), (-4274, HistogramBin { sample: -0.066988755, weight: 3.0 }), (-4273, HistogramBin { sample: -0.06567524999999999, weight: 3.0 }), (-4272, HistogramBin { sample: -0.0643875, weight: 4.0 }), (-4271, HistogramBin { sample: -0.063125, weight: 2.0 }), (-4270, HistogramBin { sample: -0.06188383726069483, weight: 3.0 }), (-4269, HistogramBin { sample: -0.06067042868695573, weight: 4.0 }), (-4268, HistogramBin { sample: -0.05948081243819188, weight: 2.0 }), (-4267, HistogramBin { sample: -0.058056256023828134, weight: 1.0 }), (-4266, HistogramBin { sample: -0.057171099998262094, weight: 2.0 }), (-4265, HistogramBin { sample: -0.056050098037511854, weight: 3.0 }), (-4263, HistogramBin { sample: -0.05387360441898486, weight: 2.0 }), (-4262, HistogramBin { sample: -0.05269743703503164, weight: 1.0 }), (-4260, HistogramBin { sample: -0.050634397731879534, weight: 1.0 }), (-4259, HistogramBin { sample: -0.04977088302604097, weight: 2.0 }), (-4258, HistogramBin { sample: -0.048420574754193806, weight: 1.0 }), (-4255, HistogramBin { sample: -0.0462415114270426, weight: 1.0 }), (-4254, HistogramBin { sample: -0.04502440091731053, weight: 1.0 }), (-4252, HistogramBin { sample: -0.04294909892743748, weight: 1.0 }), (-4250, HistogramBin { sample: -0.0416460484591719, weight: 3.0 }), (-4249, HistogramBin { sample: -0.04082945927369794, weight: 3.0 }), (-4247, HistogramBin { sample: -0.039352046873686035, weight: 1.0 }), (-4244, HistogramBin { sample: -0.03691204319588632, weight: 1.0 }), (-4237, HistogramBin { sample: -0.03198195481122561, weight: 1.0 }), (-4226, HistogramBin { sample: -0.02574870423140089, weight: 1.0 }), (-4220, HistogramBin { sample: -0.023124851852965474, weight: 1.0 }), (-4217, HistogramBin { sample: -0.021851210171164974, weight: 1.0 }), (-4213, HistogramBin { sample: -0.020078590684718227, weight: 1.0 }), (-4203, HistogramBin { sample: -0.016340291632522267, weight: 1.0 }), (-4202, HistogramBin { sample: -0.016060004791600933, weight: 1.0 }), (-4191, HistogramBin { sample: -0.012983176846826691, weight: 1.0 }), (-4182, HistogramBin { sample: -0.010786728544069557, weight: 1.0 }), (-4178, HistogramBin { sample: -0.010054819049723197, weight: 1.0 }), (-4168, HistogramBin { sample: -0.008135349489662772, weight: 1.0 }), (-4166, HistogramBin { sample: -0.007857840902967511, weight: 1.0 }), (-4164, HistogramBin { sample: -0.007579588587005446, weight: 1.0 }), (-4160, HistogramBin { sample: -0.0070155737328613695, weight: 1.0 }), (-4144, HistogramBin { sample: -0.005085378863184462, weight: 1.0 }), (-4121, HistogramBin { sample: -0.0032392810664408126, weight: 1.0 }), (-4088, HistogramBin { sample: -0.001676379046160412, weight: 1.0 }), (-4073, HistogramBin { sample: -0.001242544731610339, weight: 1.0 }), (-4060, HistogramBin { sample: -0.0009674295498684758, weight: 1.0 }), (-4046, HistogramBin { sample: -0.0007335743917549984, weight: 1.0 }), (-4029, HistogramBin { sample: -0.0005266828660576698, weight: 1.0 }), (4046, HistogramBin { sample: 0.0007377828890663622, weight: 1.0 }), (4057, HistogramBin { sample: 0.0009032314065609063, weight: 1.0 }), (4106, HistogramBin { sample: 0.0024164654693703616, weight: 1.0 }), (4129, HistogramBin { sample: 0.003774631682131925, weight: 1.0 }), (4144, HistogramBin { sample: 0.005137281256009984, weight: 1.0 }), (4157, HistogramBin { sample: 0.006650237330210035, weight: 1.0 }), (4166, HistogramBin { sample: 0.007873846570908971, weight: 1.0 })]