Commit 9c74d2ac authored by Charles Bouillaguet's avatar Charles Bouillaguet
Browse files

bugfix

parent 736c2e8d
......@@ -773,8 +773,14 @@ int main(int argc, char **argv)
errx(1, "cannot open %s", matrix_filename);
log(0, "Matrix production (pass 2/2)\n");
for (int j = 0; j < ncols; j++)
cw[j] = 0;
for (int i = 0; i < nrows; i++)
rw[i] = -1;
/* output pass 2/2 */
output_setup();
/* actual stuff -- two passes because of potential empty columns */
for (int d = 2; d <= D; d++) {
log(1, " - Expanding to degree %d\n", d);
......
Supports Markdown
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