From 6fbd3bb2e05d047ef699d25bc29d4f9b40f73d06 Mon Sep 17 00:00:00 2001 From: Lincoln-LM Date: Thu, 20 Jan 2022 21:02:31 -0700 Subject: [PATCH] correct assertion error --- src/rngtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rngtool.py b/src/rngtool.py index 0efefb8..2ebc16b 100644 --- a/src/rngtool.py +++ b/src/rngtool.py @@ -409,7 +409,7 @@ def recov(blinks:List[int],rawintervals:List[int],npc:int=0)->Xorshift: print(blinks) print(expected_blinks) if raise_error: - raise all([o==e for o,e in paired]) + assert all([o==e for o,e in paired]) result = Xorshift(*states) result.getNextRandSequence(advanced_frame) return result