Add guard around access to time limit field
@@ -124,8 +124,10 @@ void print_setup_header(const OSQPWorkspace *work) {
if (settings->polish) c_print("polish: on, ");
else c_print("polish: off, ");
+# ifdef PROFILING
if (settings->time_limit) c_print("time_limit: %.2e sec\n", settings->time_limit);
else c_print("time_limit: off\n");
+# endif /* ifdef PROFILING */
c_print("\n");
}
