From 1810d40959e789cbd82ad84034ced2d876f81b86 Mon Sep 17 00:00:00 2001 From: stefan Date: Mon, 13 Mar 2023 23:18:32 +0900 Subject: [PATCH] pytest work without cuda --- src/kyupy/logic_sim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kyupy/logic_sim.py b/src/kyupy/logic_sim.py index a8bc535..a830e95 100644 --- a/src/kyupy/logic_sim.py +++ b/src/kyupy/logic_sim.py @@ -291,7 +291,7 @@ class LogicSim(SimOps): # logic.bp_or(outputs[0], self.tmp[0], inputs[2]) # logic.bp_not(outputs[0], outputs[0]) -@numba.njit() +@numba.njit def _prop_cpu(ops, vat, c): for op, o0, i0, i1, i2, i3 in ops: o0, i0, i1, i2, i3 = [vat[x,0] for x in (o0, i0, i1, i2, i3)]