Ensure changed index values are calculated correctly
This commit is contained in:
parent
61b1e547b6
commit
32525602e2
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ impl<'a> Document<'a> {
|
|||
// Calculate old values
|
||||
let mut o = Array::with_capacity(ix.cols.len());
|
||||
for i in ix.cols.iter() {
|
||||
let v = i.compute(ctx, opt, txn, Some(&self.current)).await?;
|
||||
let v = i.compute(ctx, opt, txn, Some(&self.initial)).await?;
|
||||
o.push(v);
|
||||
}
|
||||
// Calculate new values
|
||||
|
|
Loading…
Reference in a new issue