#include <sparse/mq.h>
#include <sparse/color_palette.h>
#include <sparse/colorutil.h>
+#include <stdbool.h>
#include <string.h>
typedef struct {
if (with_color){
real maxdist = 0.;
real mindist = 0.;
- int first = TRUE;
+ bool first = true;
color = malloc(sizeof(real)*A->nz);
for (n = agfstnode (g); n; n = agnxtnode (g, n)) {
i = ND_id(n);
if (i != ja[j]){
if (first){
mindist = color[j];
- first = FALSE;
+ first = false;
} else {
mindist = MIN(mindist, color[j]);
}
if (i != ja[j]){
if (first){
mindist = color[j];
- first = FALSE;
+ first = false;
} else {
mindist = MIN(mindist, color[j]);
}