tab->bottom.type = isl_tab_undo_bottom;
tab->bottom.next = NULL;
tab->top = &tab->bottom;
+
+ tab->n_zero = 0;
+ tab->basis = NULL;
+
return tab;
error:
isl_tab_free(tab);
free(tab->col_var);
free(tab->row_sign);
isl_mat_free(tab->samples);
+ isl_mat_free(tab->basis);
free(tab);
}
dup->bottom.type = isl_tab_undo_bottom;
dup->bottom.next = NULL;
dup->top = &dup->bottom;
+
+ dup->n_zero = tab->n_zero;
+ dup->basis = isl_mat_dup(tab->basis);
+
return dup;
error:
isl_tab_free(dup);
prod->bottom.type = isl_tab_undo_bottom;
prod->bottom.next = NULL;
prod->top = &prod->bottom;
+
+ prod->n_zero = 0;
+ prod->basis = NULL;
+
return prod;
error:
isl_tab_free(prod);