unsigned total;
total = isl_local_space_dim(aff->ls, isl_dim_all);
- p = isl_printer_print_str(p, "(");
+ if (!isl_int_is_one(aff->v->el[0]))
+ p = isl_printer_print_str(p, "(");
p = print_ls_partial_affine_c(p, aff->ls, aff->v->el + 1, 1 + total);
- if (isl_int_is_one(aff->v->el[0]))
- p = isl_printer_print_str(p, ")");
- else {
+ if (!isl_int_is_one(aff->v->el[0])) {
p = isl_printer_print_str(p, ")/");
p = isl_printer_print_isl_int(p, aff->v->el[0]);
}