From 828840c371316ff236efadea6dfad5dce4efc252 Mon Sep 17 00:00:00 2001 From: PThorpe92 Date: Wed, 7 May 2025 15:52:32 -0400 Subject: [PATCH] Update bind_at api to check for recalculated parameter offset --- core/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/lib.rs b/core/lib.rs index f36072e3a..2150ba224 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -636,7 +636,8 @@ impl Statement { } pub fn bind_at(&mut self, index: NonZero, value: OwnedValue) { - self.state.bind_at(index, value); + let internal = self.program.parameters.get_remap(index); + self.state.bind_at(internal, value); } pub fn reset(&mut self) {