chore: broken test after update stage0 (#8110)
This is a temporary fix for `master` after update stage0 breakage. cc @Kha @nomeata
This commit is contained in:
parent
882d1ab812
commit
60ee8c2f76
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
|||
def computeFuel (mass : Nat) : Nat :=
|
||||
let rec go acc cur :=
|
||||
let n := cur / 3 - 2
|
||||
if n = 0 then acc + cur else go (acc + cur) n
|
||||
-- TODO: investigate why we need `_ :`
|
||||
if _ : n = 0 then acc + cur else go (acc + cur) n
|
||||
termination_by cur
|
||||
go 0 mass - mass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue