fix: unnecessary get!
This commit is contained in:
parent
ecda364985
commit
603f2dee73
1 changed files with 2 additions and 2 deletions
|
|
@ -63,8 +63,8 @@ s.size == 0
|
|||
|
||||
partial def toListAux (ds : FloatArray) : Nat → List Float → List Float
|
||||
| i, r =>
|
||||
if i < ds.size then
|
||||
toListAux (i+1) (ds.get! i :: r)
|
||||
if h : i < ds.size then
|
||||
toListAux (i+1) (ds.get ⟨i, h⟩ :: r)
|
||||
else
|
||||
r.reverse
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue