This commit is contained in:
Sebastien Bourdeauducq 2016-05-03 16:23:16 +08:00
parent f7ba61b47b
commit 9e14419abc
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():