put AA null warning behind verbose check, closes
@@ -747,8 +747,10 @@ static ScsWork *init_work(const ScsData *d, const ScsCone *k) {
if (!(w->accel =
aa_init(2 * (w->m + w->n + 1), ABS(w->stgs->acceleration_lookback),
w->stgs->acceleration_lookback >= 0))) {
+ if (w->stgs->verbose) {
scs_printf("WARN: aa_init returned NULL, no acceleration applied.\n");
}
+ }
return w;
}
