static void set_best(double new_best) {
best = new_best;
- n_over_best = n / best;
+ n_over_best = floor(n / best);
}
/*----- multicore support -----*/
static void multicore_check_for_new_best(void);
-#define MAX_NIOVS 3
+#define MAX_NIOVS 4
static AdjWord mc_iter_min;
static int mc_niovs;
static size_t mc_iovlen;
IOV(maxhamweight, 1);
IOV(mc_iter_min, 1);
IOV(*adjmatrix, multicore_iteration_boundary);
+ IOV(*weight, m);
}
static void mc_rwvsetup_full(void) {