openblas: make unit test more robust by outputing only the solution vector from dgesv

This commit is contained in:
Denis Davydov 2016-05-11 15:09:48 +02:00
parent 809ded74c9
commit 361b629034
2 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ int main(void) {
int ldb = 3;
dgesv_(&n,&nrhs, &m[0], &lda, ipiv, &x[0], &ldb, &info);
for (i=0; i<3; ++i)
printf("%5.1f %3d\n", x[i], ipiv[i]);
printf("%5.1f\n", x[i]);
return 0;
}

View File

@ -7,6 +7,6 @@
5.000000
-1.000000
3.000000
-0.3 1
3.0 1499101120
-3.0 32767
-0.3
3.0
-3.0