Commit d35ee58
Fix linalg.trace test, result dtype was incorrect
As the spec says, the output dtype should be the default
integer/float/complex dtype just like for `sum`. Given that the
reference was implemented with `sum`, avoiding to pass an explicit
dtype should be enough to obtain the correct results.1 parent b6370dc commit d35ee58
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| |||
0 commit comments