From c656688ff4895904b4bb5e2f89037f1e75c9fa00 Mon Sep 17 00:00:00 2001 From: Son Ho Date: Fri, 4 Aug 2023 20:02:37 +0200 Subject: Make minor modifications --- tests/lean/Loops/Funs.lean | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lean/Loops') 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 -/ -- cgit v1.2.3