rename meas::{eval_multiple_kv -> eval_multiple}

This commit is contained in:
2022-07-31 23:27:37 -07:00
parent 0e0945f744
commit 723fed4786
2 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ pub fn as_dyn_measurements<S, M: AbstractMeasurement<S>>(meas: &[M]) -> Vec<&dyn
/// combine several measurements
pub fn eval_multiple_kv<S>(state: &S, meas: &[&dyn AbstractMeasurement<S>]) -> Vec<Measurement> {
pub fn eval_multiple<S>(state: &S, meas: &[&dyn AbstractMeasurement<S>]) -> Vec<Measurement> {
meas.into_iter().flat_map(|m| m.key_value(state).into_iter()).collect()
}