forked from jan/opencl_fdfd
fix csr solver regression
This commit is contained in:
parent
2894866bf8
commit
80592dff79
@ -302,7 +302,7 @@ def create_a_csr(context: pyopencl.Context) -> operation:
|
|||||||
spmv_source = '''
|
spmv_source = '''
|
||||||
int start = m_row_ptr[i];
|
int start = m_row_ptr[i];
|
||||||
int stop = m_row_ptr[i+1];
|
int stop = m_row_ptr[i+1];
|
||||||
dtype dot = zero;
|
ctype dot = zero;
|
||||||
|
|
||||||
int col_ind, d_ind;
|
int col_ind, d_ind;
|
||||||
for (int j=start; j<stop; j++) {
|
for (int j=start; j<stop; j++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user