openblas: make unit test more robust by outputing only the solution vector from dgesv
This commit is contained in:
parent
809ded74c9
commit
361b629034
@ -43,7 +43,7 @@ int main(void) {
|
|||||||
int ldb = 3;
|
int ldb = 3;
|
||||||
dgesv_(&n,&nrhs, &m[0], &lda, ipiv, &x[0], &ldb, &info);
|
dgesv_(&n,&nrhs, &m[0], &lda, ipiv, &x[0], &ldb, &info);
|
||||||
for (i=0; i<3; ++i)
|
for (i=0; i<3; ++i)
|
||||||
printf("%5.1f %3d\n", x[i], ipiv[i]);
|
printf("%5.1f\n", x[i]);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
5.000000
|
5.000000
|
||||||
-1.000000
|
-1.000000
|
||||||
3.000000
|
3.000000
|
||||||
-0.3 1
|
-0.3
|
||||||
3.0 1499101120
|
3.0
|
||||||
-3.0 32767
|
-3.0
|
||||||
|
Loading…
Reference in New Issue
Block a user