aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/VARIABLE.tosac
diff options
context:
space:
mode:
Diffstat (limited to 'pseudocode/operators/VARIABLE.tosac')
-rw-r--r--pseudocode/operators/VARIABLE.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/VARIABLE.tosac b/pseudocode/operators/VARIABLE.tosac
index 4d2fce7..aaa2155 100644
--- a/pseudocode/operators/VARIABLE.tosac
+++ b/pseudocode/operators/VARIABLE.tosac
@@ -13,7 +13,7 @@ tensor_t var_tensor = variable_tensor_lookup(uid);
// Invocation for the first time
if (var_tensor == NULL) {
// Allocate the persistent mutable memory for the variable tensor
- tensor_t var_tensor = variable_tensor_allocate<var_t>(var_shape, uid);
+ var_tensor = variable_tensor_allocate<var_t>(var_shape, uid);
if (initial_value != NULL) {
REQUIRE(var_t == in_t);