# must fail: depth_O10_throughput_between depth_O11b_bola_like_0 # a depth's bytes taken as its own layer's, not the sum through it (abr::depth) diff --git a/wai/wai-rs/src/http_binding/abr.rs b/wai/wai-rs/src/http_binding/abr.rs index 6fb8973c..c6472097 100644 --- a/wai/wai-rs/src/http_binding/abr.rs +++ b/wai/wai-rs/src/http_binding/abr.rs @@ -432,7 +432,7 @@ pub fn depth(layers_n: &[u64], p: &dyn Policy, s: &AbrState) -> Result<(usize, B let mut acc = 0u64; st.option_bytes = Vec::with_capacity(layers_n.len()); for &n in layers_n { - acc = acc.checked_add(n).ok_or(AbrError("the bytes through a depth pass 2^64 - 1"))?; + acc = n; st.option_bytes.push(acc); } st.option_joules_micro = Vec::with_capacity(layers_n.len());