Skip to content

Commit ac56657

Browse files
committed
Fix printing of number of matrix nonzeros
1 parent c7fd311 commit ac56657

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

upchol.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ int main(int argc, char *argv[])
17531753
clock_gettime(CLOCK_MONOTONIC, &t1);
17541754
fprintf(stderr, "%'.6f seconds, %'"PRId64" rows, %'"PRId64" columns, %'"PRId64" nonzeros"
17551755
", %'"PRId64" to %'"PRId64" nonzeros per row\n",
1756-
timespec_duration(t0, t1), num_rows, num_columns, Asize+Adiagsize, rowsizemin, rowsizemax);
1756+
timespec_duration(t0, t1), num_rows, num_columns, 2*Asize+Adiagsize, rowsizemin, rowsizemax);
17571757
}
17581758

17591759
/* if requested, compute fill-in and exit */

0 commit comments

Comments
 (0)