diff --git a/src/core/domains/tube/codac_Tube.cpp b/src/core/domains/tube/codac_Tube.cpp index 4bc727569..725e91be6 100644 --- a/src/core/domains/tube/codac_Tube.cpp +++ b/src/core/domains/tube/codac_Tube.cpp @@ -922,10 +922,10 @@ namespace codac double Tube::max_gate_diam(double& t) const { const Slice *slice = first_slice(); + t = slice->tdomain().lb(); if(slice->input_gate().is_unbounded()) { - t = slice->tdomain().lb(); return numeric_limits::infinity(); }