forked from M-Labs/artiq
1
0
Fork 0

manual: cannot use empty lists in kernel

Signed-off-by: Mingyu Fan <mingyufan@ucsb.edu>
This commit is contained in:
fanmingyu212 2021-05-02 19:26:21 -07:00 committed by Sébastien Bourdeauducq
parent 011f3bdb2e
commit 91832aa886
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ the builtin ``float`` type on the core device, this can lead to problems in func
``round(float(numpy.float64(1.0)))`` returns an integer on the core device as well as on the host ``round(float(numpy.float64(1.0)))`` returns an integer on the core device as well as on the host
interpreter. interpreter.
Empty lists do not have valid list element types, so they cannot be used in the kernel.
Asynchronous RPCs Asynchronous RPCs
----------------- -----------------