Commit 67d0cd48 authored by rusty1s's avatar rusty1s
Browse files

removed branch

parent 157a8fe1
...@@ -12,17 +12,12 @@ ...@@ -12,17 +12,12 @@
while(e < THLongTensor_nElement(row)) { \ while(e < THLongTensor_nElement(row)) { \
row_value = row_data[e]; \ row_value = row_data[e]; \
if (output_data[row_value] < 0) { \ if (output_data[row_value] < 0) { \
col_value = -1; \ col_value = row_value; \
SELECT \ SELECT \
if (col_value < 0) { \
output_data[row_value] = row_value; \
} \
else { \
v = row_value < col_value ? row_value : col_value; \ v = row_value < col_value ? row_value : col_value; \
output_data[row_value] = v; \ output_data[row_value] = v; \
output_data[col_value] = v; \ output_data[col_value] = v; \
} \ } \
} \
e += degree_data[row_value]; \ e += degree_data[row_value]; \
} \ } \
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment