diff options
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r-- | docs/contracts.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst index 4dd185aa..5e7eab80 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -1323,6 +1323,7 @@ custom types without the overhead of external function calls: if (carry > 0) { // too bad, we have to add a limb uint[] memory newLimbs = new uint[](r.limbs.length + 1); + uint i; for (i = 0; i < r.limbs.length; ++i) newLimbs[i] = r.limbs[i]; newLimbs[i] = carry; |