Fix clippy warning
This commit is contained in:
@@ -210,8 +210,8 @@ impl History {
|
||||
let mut data: HashMap<Index, Vec<(i64, Gaussian)>> = HashMap::new();
|
||||
|
||||
for b in &self.batches {
|
||||
for agent in b.skills.keys() {
|
||||
let point = (b.time, b.posterior(*agent));
|
||||
for (agent, skill) in b.skills.iter() {
|
||||
let point = (b.time, skill.posterior());
|
||||
|
||||
if let Some(entry) = data.get_mut(agent) {
|
||||
entry.push(point);
|
||||
|
||||
Reference in New Issue
Block a user