From 119b23b9864c258410ccb8f013dc4d9b8a72c27a Mon Sep 17 00:00:00 2001 From: John van de Wetering Date: Wed, 8 Apr 2020 10:59:42 +0200 Subject: [PATCH] Fixes #30 --- pyzx/scripts/cnot_mapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyzx/scripts/cnot_mapper.py b/pyzx/scripts/cnot_mapper.py index ae31fffc..25777edd 100644 --- a/pyzx/scripts/cnot_mapper.py +++ b/pyzx/scripts/cnot_mapper.py @@ -28,7 +28,7 @@ try: import numpy as np except: - np = pass + np = None if __name__ == '__main__': print("Please call this as python -m pyzx mapper ...")