int64_t kTile = k / shapeK;
// verify shape of aVector
- if (!((aShape[0] == mTile * kTile) && (aShape[1] == numElementA)))
+ if ((aShape[0] != mTile * kTile) || (aShape[1] != numElementA))
return emitOpError() << "expected matrix A to be shaped (" << mTile * kTile
<< " x " << numElementA << ")";
// verify shape of bVector
- if (!((bShape[0] == kTile * nTile) && (bShape[1] == numElementB)))
+ if ((bShape[0] != kTile * nTile) || (bShape[1] != numElementB))
return emitOpError() << "expected matrix B to be shaped (" << kTile * nTile
<< " x " << numElementB << ")";
// verify shape of cVector
- if (!((cShape[0] == mTile * nTile) && (cShape[1] == numElementC)))
+ if ((cShape[0] != mTile * nTile) || (cShape[1] != numElementC))
return emitOpError() << "expected matrix C to be shaped (" << mTile * nTile
<< " x " << numElementC << ")";