Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ferichter
python-scipy
scipy-0.6.0-undefined_operation.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scipy-0.6.0-undefined_operation.patch of Package python-scipy
Index: scipy/linsolve/SuperLU/SRC/zutil.c =================================================================== --- scipy/linsolve/SuperLU/SRC/zutil.c.orig +++ scipy/linsolve/SuperLU/SRC/zutil.c @@ -218,7 +218,7 @@ void zPrint_SuperNode_Matrix(char *what, SuperMatrix *A) { SCformat *Astore; - register int i, j, k, c, d, n, nsup; + register int i, j, k, c, d, n, nsup, temp; double *dp; int *col_to_sup, *sup_to_col, *rowind, *rowind_colptr; @@ -240,7 +240,8 @@ zPrint_SuperNode_Matrix(char *what, Supe for (j = c; j < c + nsup; ++j) { d = Astore->nzval_colptr[j]; for (i = rowind_colptr[c]; i < rowind_colptr[c+1]; ++i) { - printf("%d\t%d\t%e\t%e\n", rowind[i], j, dp[d++], dp[d++]); + temp=d++; + printf("%d\t%d\t%e\t%e\n", rowind[i], j, dp[temp], dp[d++]); } } } Index: scipy/linsolve/SuperLU/SRC/cutil.c =================================================================== --- scipy/linsolve/SuperLU/SRC/cutil.c.orig +++ scipy/linsolve/SuperLU/SRC/cutil.c @@ -218,7 +218,7 @@ void cPrint_SuperNode_Matrix(char *what, SuperMatrix *A) { SCformat *Astore; - register int i, j, k, c, d, n, nsup; + register int i, j, k, c, d, n, nsup, temp; float *dp; int *col_to_sup, *sup_to_col, *rowind, *rowind_colptr; @@ -240,7 +240,8 @@ cPrint_SuperNode_Matrix(char *what, Supe for (j = c; j < c + nsup; ++j) { d = Astore->nzval_colptr[j]; for (i = rowind_colptr[c]; i < rowind_colptr[c+1]; ++i) { - printf("%d\t%d\t%e\t%e\n", rowind[i], j, dp[d++], dp[d++]); + temp=d++; + printf("%d\t%d\t%e\t%e\n", rowind[i], j, dp[temp], dp[d++]); } } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor