From c1422ec99c754e542223979a5bdc882f67ac9ac5 Mon Sep 17 00:00:00 2001 From: Christian Bender Date: Mon, 16 Apr 2018 13:42:44 +0200 Subject: [PATCH] fixed the assert statments --- hashes/chaos_machine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hashes/chaos_machine.py b/hashes/chaos_machine.py index 59d0d7ffd..766dbba3c 100644 --- a/hashes/chaos_machine.py +++ b/hashes/chaos_machine.py @@ -38,8 +38,8 @@ def push(seed): r # Saving to Parameters Space # Logistic Map - assert(max(buffer_space) < 1) - assert(max(params_space) < 4) + assert max(buffer_space) < 1 + assert max(params_space) < 4 # Machine Time machine_time += 1