Expr: +interp_mons_data

This commit is contained in:
Alain Emilia Anna Zscheile 2024-07-23 11:36:47 +02:00
parent 08da77334a
commit b23ac1837e

View file

@ -90,4 +90,8 @@ impl System {
});
});
}
pub fn interp_mons_data(&self, link_data: &BTreeMap<Link, f64>, out: &mut [f64]) {
self.mons.iter().zip(out.iter_mut()).for_each(|(x, y)| { *y = x.1.interp(link_data); });
}
}