rename meas::{eval_multiple_kv -> eval_multiple}
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user