diff --git a/control/auxiliary.c b/control/auxiliary.c index 37d657fbfdc95045ab1c27fc7bd12854cfee97b8..14fd016ed7a9da87227a87502f7b43c87ca91a08 100644 --- a/control/auxiliary.c +++ b/control/auxiliary.c @@ -115,11 +115,15 @@ int morse_rank(MORSE_context_t *morse) **/ int morse_tune(MORSE_enum func, int M, int N, int NRHS) { + MORSE_context_t *morse; + morse = morse_context_self(); + if ( morse && morse->autotuning_enabled == MORSE_TRUE ) { + morse_warning( "morse_tune", "Autotunning not available for now" ); + } (void)func; (void)M; (void)N; (void)NRHS; - morse_warning( "morse_tune", "Autotunning not available for now" ); return MORSE_SUCCESS; }