diff --git a/src/stars/Default/stars_io.h b/src/stars/Default/stars_io.h index 4c8f1fd2e7031237e6003efe35ba7977478ecaac..d41a13a5b84fe1b4c98592f56a06df12590d6900 100644 --- a/src/stars/Default/stars_io.h +++ b/src/stars/Default/stars_io.h @@ -142,7 +142,8 @@ INLINE static void stars_props_print(const struct stars_props *sp) { "(max|dlog(h)/dt|=%f).", pow_dimension(expf(sp->log_max_h_change)), sp->log_max_h_change); - message("Maximal smoothing length allowed: %.4f", sp->h_max); + if (sp->h_max != FLT_MAX) + message("Maximal smoothing length allowed: %.4f", sp->h_max); message("Maximal iterations in ghost task set to %d", sp->max_smoothing_iterations);