forked from M-Labs/artiq
1
0
Fork 0

compiler: add LinAlgError exception

This commit is contained in:
abdul124 2024-08-22 10:19:47 +08:00 committed by Sébastien Bourdeauducq
parent 61e96b37f9
commit 8e6fe41dc4
2 changed files with 3 additions and 1 deletions

View File

@ -112,7 +112,8 @@ class EmbeddingMap:
"0:TimeoutError",
"0:TypeError",
"0:ValueError",
"0:ZeroDivisionError"
"0:ZeroDivisionError",
"0:LinAlgError",
])
def preallocate_runtime_exception_names(self, names):

View File

@ -2,6 +2,7 @@ import builtins
import linecache
import re
import os
from numpy.linalg import LinAlgError
from artiq import __artiq_dir__ as artiq_dir
from artiq.coredevice.runtime import source_loader