Skip to content

Commit

Permalink
Merge pull request #58 from bneveu/dev
Browse files Browse the repository at this point in the history
bug correction in Tube::max_gate_diam()
  • Loading branch information
SimonRohou authored Apr 11, 2022
2 parents 1d91e0a + 0b950f4 commit 3bf9c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/domains/tube/codac_Tube.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<double>::infinity();
}

Expand Down

0 comments on commit 3bf9c3e

Please sign in to comment.