annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4377
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
1 diff -ur sparsersb-1.0.5.orig/src/sparsersb.cc sparsersb-1.0.5/src/sparsersb.cc
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
2 --- sparsersb-1.0.5.orig/src/sparsersb.cc 2017-04-08 17:49:45.120506400 -0400
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
3 +++ sparsersb-1.0.5/src/sparsersb.cc 2017-04-08 17:50:04.244313729 -0400
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
4 @@ -311,7 +311,7 @@
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
5 // assumes tacitly that rsboi_idx_overflow(IA[i],JA[i])==false for i in 0..nnzA-1.
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
6 rsb_err_t errval = RSB_ERR_NO_ERROR;
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
7
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
8 - errval = rsb_mtx_get_coo(mtxAp, VA, (rsb_coo_idx_t *)IA, (rsb_coo_idx_ t*)JA, flags );
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
9 + errval = rsb_mtx_get_coo(mtxAp, VA, (rsb_coo_idx_t *)IA, (rsb_coo_idx_t*)JA, flags );
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
10 rsb_nnz_idx_t nnzA = 0;
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
11 rsb_mtx_get_info(mtxAp,RSB_MIF_MATRIX_NNZ__TO__RSB_NNZ_INDEX_T,&nnzA); // FIXME: make this a member and use nnz()
54b1b8a285e6 of-sparsersb.mk: add patch for typo (Bug #50764)
John D
parents:
diff changeset
12 rsboi_ri2oi((rsb_coo_idx_t *)IA,nnzA);