Fix Matrix mul bug
This commit is contained in:
@@ -884,7 +884,7 @@ namespace Aurora {
|
|||||||
} else if (aOther.isVector()) {
|
} else if (aOther.isVector()) {
|
||||||
// right size
|
// right size
|
||||||
if (getDimSize(1) == aOther.getDimSize(0)) {
|
if (getDimSize(1) == aOther.getDimSize(0)) {
|
||||||
auto result = deepCopy();
|
auto result = aOther.deepCopy();
|
||||||
cblas_dgemv(CblasColMajor, CblasNoTrans, getDimSize(0),
|
cblas_dgemv(CblasColMajor, CblasNoTrans, getDimSize(0),
|
||||||
getDimSize(1), 1.0, getData(),
|
getDimSize(1), 1.0, getData(),
|
||||||
getDimSize(0), aOther.getData(), 1, 0,
|
getDimSize(0), aOther.getData(), 1, 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user