We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eb298e commit 46aed13Copy full SHA for 46aed13
src/index_notation/transformations.cpp
@@ -1123,7 +1123,7 @@ static IndexStmt optimizeSpMM(IndexStmt stmt) {
1123
// We need random access into the first mode or this tensor in order to perform a linear combination of rows
1124
// algorithm. (I think?)
1125
TensorVar C = Caccess.getTensorVar();
1126
- if (C.getFormat().getModeFormats()[0].getName() == "compressed" ||
+ if (!C.getFormat().getModeFormats()[0].hasLocate() ||
1127
C.getFormat().getModeOrdering()[0] != 0 ||
1128
C.getFormat().getModeOrdering()[1] != 1) {
1129
return stmt;
0 commit comments