From cdabb4b2058ca65afce1077c181d6b1a36d61041 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Sun, 14 Oct 2018 08:32:10 -0500 Subject: [PATCH] remove extra def of clamp --- specs/beacon-chain.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/specs/beacon-chain.md b/specs/beacon-chain.md index d458ec085..cf285d1ae 100644 --- a/specs/beacon-chain.md +++ b/specs/beacon-chain.md @@ -378,8 +378,6 @@ def clamp(minval: int, maxval: int, x: int) -> int: return maxval else: return x -def clamp(minval, maxval, x): - return minval if x < minval else maxval if x > maxval else x ``` Now, our combined helper method: