Commit 327eecab authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Print star max h only if not FLT_MAX

parent 448e14cc
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment