Skip to content

Commit 236abc9

Browse files
msf: fix get_second type
1 parent 9d473c6 commit 236abc9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

experimental/algorithm/LAGraph_msf.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,24 +231,24 @@ void get_first_fp (double *y, const tuple_fp *x)
231231
// get_second: get second item in a tuple (the index)
232232
//------------------------------------------------------------------------------
233233

234-
void get_second_int (int64_t *y, const tuple_int *x)
234+
void get_second_int (uint64_t *y, const tuple_int *x)
235235
{
236236
*y = x->idx;
237237
}
238238

239239
#define GET_SECOND_INT \
240-
"void get_second_int (int64_t *y, const tuple_int *x) \n" \
240+
"void get_second_int (uint64_t *y, const tuple_int *x) \n" \
241241
"{ \n" \
242242
" *y = x->idx; \n" \
243243
"}"
244244

245-
void get_second_fp (int64_t *y, const tuple_fp *x)
245+
void get_second_fp (uint64_t *y, const tuple_fp *x)
246246
{
247247
*y = x->idx;
248248
}
249249

250250
#define GET_SECOND_FP \
251-
"void get_second_fp (int64_t *y, const tuple_fp *x) \n" \
251+
"void get_second_fp (uint64_t *y, const tuple_fp *x) \n" \
252252
"{ \n" \
253253
" *y = x->idx; \n" \
254254
"}"

0 commit comments

Comments
 (0)