forked from M-Labs/artiq
1
0
Fork 0
This commit is contained in:
Sebastien Bourdeauducq 2016-05-03 16:23:16 +08:00
parent ff721ff136
commit 5efa5f5265
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ from artiq.language.core import *
from artiq.language.types import *
class c:
kernel_invariants = {'a'}
kernel_invariants = {"a"}
def __init__(self):
self.a = 1

View File

@ -12,8 +12,8 @@ class c:
def __repr__(self):
return "<testbench.c object>"
i1 = c({'a', 'b'})
i2 = c({'a'})
i1 = c({"a", "b"})
i2 = c({"a"})
@kernel
def entrypoint():