From 085d8f899bea93dc515eb16be667a8770b63ee7f Mon Sep 17 00:00:00 2001 From: Brendan O'Donoghue Date: Mon, 1 Jan 2024 13:26:05 +0000 Subject: [PATCH] turn off verbosity --- src/scs.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/scs.c b/src/scs.c index 67a7b707..4e6c6111 100644 --- a/src/scs.c +++ b/src/scs.c @@ -896,12 +896,13 @@ static ScsWork *init_work(const ScsData *d, const ScsCone *k, } if (w->stgs->acceleration_lookback) { /* TODO(HACK!) negative acceleration_lookback interpreted as type-II */ - if (!(w->accel = aa_init( - l, ABS(w->stgs->acceleration_lookback), - w->stgs->acceleration_lookback > 0, - w->stgs->acceleration_lookback > 0 ? AA_REGULARIZATION_TYPE_1 - : AA_REGULARIZATION_TYPE_2, - AA_RELAXATION, AA_SAFEGUARD_FACTOR, AA_MAX_WEIGHT_NORM, 1))) { + if (!(w->accel = aa_init(l, ABS(w->stgs->acceleration_lookback), + w->stgs->acceleration_lookback > 0, + w->stgs->acceleration_lookback > 0 + ? AA_REGULARIZATION_TYPE_1 + : AA_REGULARIZATION_TYPE_2, + AA_RELAXATION, AA_SAFEGUARD_FACTOR, + AA_MAX_WEIGHT_NORM, VERBOSITY))) { if (w->stgs->verbose) { scs_printf("WARN: aa_init returned NULL, no acceleration applied.\n"); }