mirror of https://github.com/m-labs/artiq.git
compiler: add LinAlgError exception
This commit is contained in:
parent
61e96b37f9
commit
8e6fe41dc4
|
@ -112,7 +112,8 @@ class EmbeddingMap:
|
||||||
"0:TimeoutError",
|
"0:TimeoutError",
|
||||||
"0:TypeError",
|
"0:TypeError",
|
||||||
"0:ValueError",
|
"0:ValueError",
|
||||||
"0:ZeroDivisionError"
|
"0:ZeroDivisionError",
|
||||||
|
"0:LinAlgError",
|
||||||
])
|
])
|
||||||
|
|
||||||
def preallocate_runtime_exception_names(self, names):
|
def preallocate_runtime_exception_names(self, names):
|
||||||
|
|
|
@ -2,6 +2,7 @@ import builtins
|
||||||
import linecache
|
import linecache
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
|
from numpy.linalg import LinAlgError
|
||||||
|
|
||||||
from artiq import __artiq_dir__ as artiq_dir
|
from artiq import __artiq_dir__ as artiq_dir
|
||||||
from artiq.coredevice.runtime import source_loader
|
from artiq.coredevice.runtime import source_loader
|
||||||
|
|
Loading…
Reference in New Issue