test: test for linalg.einsum added

This commit is contained in:
Fabian Joswig 2021-12-01 12:19:32 +00:00
parent 019196bad3
commit 4c8d758889
2 changed files with 54 additions and 1 deletions

View file

@ -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")