Skip to content

Commit a4bce2e

Browse files
committed
dbsp: Fix FileWSet negation.
We didn't load the weight into cursor.diff which caused some newly written tests to fail We did an anlaysis and concluded that this method, while wrong, luckily wasn't used anywhere relevant in real circuits. Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
1 parent baa1c78 commit a4bce2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/dbsp/src/trace/ord/file/wset_batch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ where
269269

270270
let mut cursor = self.cursor();
271271
while cursor.key_valid() {
272-
let diff = cursor.diff.neg_by_ref();
272+
let diff = cursor.weight().neg_by_ref();
273273
writer.write0((cursor.key(), diff.erase())).unwrap_storage();
274274
cursor.step_key();
275275
}

0 commit comments

Comments
 (0)