diff options
Diffstat (limited to 'ManyFunctionsGenerator.py')
-rw-r--r-- | ManyFunctionsGenerator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ManyFunctionsGenerator.py b/ManyFunctionsGenerator.py index 93eef784..b4f36af0 100644 --- a/ManyFunctionsGenerator.py +++ b/ManyFunctionsGenerator.py @@ -7,14 +7,14 @@ i = 1 template = """ function right{0}(uint seed) returns (uint) {{ var r = nextRand(seed); - if (r >= 2^{2}) + if (r >= 2**{2}) return right{1}(r); return left{1}(r); }} function left{0}(uint seed) returns (uint) {{ var r = nextRand(nextRand(seed)); - if (r >= 2^{2}) + if (r >= 2**{2}) return left{1}(r); return right{1}(r); }} |