aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SyncRNG/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/SyncRNG/__init__.py b/SyncRNG/__init__.py
index 65b73a2..6d67746 100644
--- a/SyncRNG/__init__.py
+++ b/SyncRNG/__init__.py
@@ -20,7 +20,7 @@ class SyncRNG(object):
def randi(self):
tmp = _rand(self.state)
self.state = tmp[:-1]
- return(tmp[-1])
+ return int(tmp[-1])
def rand(self):
return self.randi() * 2.3283064365387e-10