mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-16 20:43:41 +02:00
test: test for linalg.einsum added
This commit is contained in:
parent
019196bad3
commit
4c8d758889
2 changed files with 54 additions and 1 deletions
|
@ -298,7 +298,7 @@ def einsum(subscripts, *operands):
|
|||
if jack_einsum.dtype == complex:
|
||||
result = _imp_from_jack_c(jack_einsum, name, idl)
|
||||
elif jack_einsum.dtype == float:
|
||||
result =_imp_from_jack(jack_einsum, name, idl)
|
||||
result = _imp_from_jack(jack_einsum, name, idl)
|
||||
else:
|
||||
raise Exception("Result has unexpected datatype")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue