Browse Source

kvcache: Set context for shift offsets

Jesse Gross 1 month ago
parent
commit
f52b2615ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kvcache/causal.go

+ 1 - 1
kvcache/causal.go

@@ -545,7 +545,7 @@ func (c *Causal) shift(seq int, beginIndex, offset int32) error {
 		}
 	}
 
-	kShift, err := ctx.FromIntSlice(offsets, len(offsets))
+	kShift, err := ctx.Input().FromIntSlice(offsets, len(offsets))
 	if err != nil {
 		return err
 	}