Fix null matrix printf bug.
This commit is contained in:
@@ -425,10 +425,12 @@ namespace Aurora {
|
|||||||
return operatorMxA(&vdPowI, times, std::forward<Matrix&&>(matrix));
|
return operatorMxA(&vdPowI, times, std::forward<Matrix&&>(matrix));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void Matrix::printf() {
|
void Matrix::printf() {
|
||||||
|
if(isNull())
|
||||||
|
{
|
||||||
|
::printf("null matrix\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
int k_count = getDimSize(2);
|
int k_count = getDimSize(2);
|
||||||
int j_count = getDimSize(1);
|
int j_count = getDimSize(1);
|
||||||
int complexstep = 1;
|
int complexstep = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user