More refactoring
This commit is contained in:
@@ -227,7 +227,7 @@ impl History {
|
||||
pub fn log_evidence(&mut self, forward: bool, targets: &[Index]) -> f64 {
|
||||
self.batches
|
||||
.iter()
|
||||
.map(|batch| batch.log_evidence(self.online, targets, forward, &mut self.agents))
|
||||
.map(|batch| batch.log_evidence(self.online, targets, forward, &self.agents))
|
||||
.sum()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user