Skip to content

Commit f397826

Browse files
authored
Merge pull request #683 from antiguru/td_compat
Compatibility fix with unreleased Timely
2 parents 88242a4 + 2a03ef9 commit f397826

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

differential-dataflow/src/input.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ impl<T: Timestamp+Clone, D: Data, R: Semigroup+'static> InputSession<T, D, R> {
258258
/// called, all buffers are flushed and timely dataflow is advised that some logical times are no longer possible.
259259
pub fn flush(&mut self) {
260260
self.handle.send_batch(&mut self.buffer);
261-
if self.handle.epoch().less_than(&self.time) {
261+
if self.handle.time().less_than(&self.time) {
262262
self.handle.advance_to(self.time.clone());
263263
}
264264
}
@@ -269,7 +269,7 @@ impl<T: Timestamp+Clone, D: Data, R: Semigroup+'static> InputSession<T, D, R> {
269269
/// the session is dropped or flushed. It is not correct to use this time as a basis for a computation's `step_while`
270270
/// method unless the session has just been flushed.
271271
pub fn advance_to(&mut self, time: T) {
272-
assert!(self.handle.epoch().less_equal(&time));
272+
assert!(self.handle.time().less_equal(&time));
273273
assert!(&self.time.less_equal(&time));
274274
self.time = time;
275275
}

0 commit comments

Comments
 (0)