summaryrefslogtreecommitdiff
path: root/tests/lean/Loops
diff options
context:
space:
mode:
authorSon Ho2023-08-04 20:02:37 +0200
committerSon Ho2023-08-04 20:02:37 +0200
commitc656688ff4895904b4bb5e2f89037f1e75c9fa00 (patch)
tree5c2567513ebde16c11dd42ea60a679dcceb9bf4a /tests/lean/Loops
parent79225e6ca645ca3902b3b761966dc869306cedbd (diff)
Make minor modifications
Diffstat (limited to '')
-rw-r--r--tests/lean/Loops/Funs.lean2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lean/Loops/Funs.lean b/tests/lean/Loops/Funs.lean
index fac0c5a9..5fbe200f 100644
--- a/tests/lean/Loops/Funs.lean
+++ b/tests/lean/Loops/Funs.lean
@@ -178,7 +178,7 @@ divergent def get_elem_shared_loop
/- [loops::get_elem_shared]: forward function -/
def get_elem_shared (slots : Vec (List Usize)) (x : Usize) : Result Usize :=
do
- let l ← Vec.index (List Usize) slots (Usize.ofInt 0)
+ let l ← Vec.index_shared (List Usize) slots (Usize.ofInt 0)
get_elem_shared_loop x l
/- [loops::id_mut]: forward function -/