[v0.0.6] Fix SimpleReplayBuffer::len()
Closed this issue · 0 comments
taku-y commented
fn len(&self) -> usize {
if self.i < self.capacity {
self.i
} else {
self.capacity
}
}
Closed this issue · 0 comments
fn len(&self) -> usize {
if self.i < self.capacity {
self.i
} else {
self.capacity
}
}