Skip to content

Commit d923a7f

Browse files
committed
Using matmul instead of @ to enforce order on product of two data elements of tenmats in tensor.ttt
1 parent a508707 commit d923a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyttb/tenmat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def __mul__(self, other):
512512
if not tshape:
513513
return (self.data @ other.data)[0, 0]
514514
tenmatInstance = tenmat(
515-
self.data @ other.data,
515+
np.matmul(self.data, other.data, order=self.order),
516516
np.arange(len(self.rindices)),
517517
np.arange(len(other.cindices)) + len(self.rindices),
518518
tshape,

0 commit comments

Comments
 (0)