comparison src/of-sparsersb-1-fixes.patch @ 4377:54b1b8a285e6

of-sparsersb.mk: add patch for typo (Bug #50764) * src/of-sparsersb-1-fixes.patch: new file * dist-files.mk: add of-sparsersb-1-fixes.patch
author John D
date Sun, 09 Apr 2017 16:38:33 -0400
parents
children 2a53600c749c
comparison
equal deleted inserted replaced
4376:b0d049115f65 4377:54b1b8a285e6
1 diff -ur sparsersb-1.0.5.orig/src/sparsersb.cc sparsersb-1.0.5/src/sparsersb.cc
2 --- sparsersb-1.0.5.orig/src/sparsersb.cc 2017-04-08 17:49:45.120506400 -0400
3 +++ sparsersb-1.0.5/src/sparsersb.cc 2017-04-08 17:50:04.244313729 -0400
4 @@ -311,7 +311,7 @@
5 // assumes tacitly that rsboi_idx_overflow(IA[i],JA[i])==false for i in 0..nnzA-1.
6 rsb_err_t errval = RSB_ERR_NO_ERROR;
7
8 - errval = rsb_mtx_get_coo(mtxAp, VA, (rsb_coo_idx_t *)IA, (rsb_coo_idx_ t*)JA, flags );
9 + errval = rsb_mtx_get_coo(mtxAp, VA, (rsb_coo_idx_t *)IA, (rsb_coo_idx_t*)JA, flags );
10 rsb_nnz_idx_t nnzA = 0;
11 rsb_mtx_get_info(mtxAp,RSB_MIF_MATRIX_NNZ__TO__RSB_NNZ_INDEX_T,&nnzA); // FIXME: make this a member and use nnz()
12 rsboi_ri2oi((rsb_coo_idx_t *)IA,nnzA);