[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gsl] unreachable code in brent.c
From: |
Pablo Haramburu |
Subject: |
[Bug-gsl] unreachable code in brent.c |
Date: |
Fri, 1 Feb 2008 14:15:54 -0200 (ARST) |
User-agent: |
SquirrelMail/1.4.6 |
Dear developers:
I noticed that there is a short fragment of unreachable code in
min/brent.c (gsl-1.10), function brent_iterate(), lines 197..210. The two
branches of the previous 'if' return, so the code after the 'if' is
unreachable.
I cannot tell if the code is bug-free or not, because I do not understand
the algorithm. I have sent this email in the hope that it is useful, as
unreachable code might point to a bug. If not, it might be a good idea to
remove the unreachable code or add at comment about it.
Sincerely,
Pablo Haramburu
- [Bug-gsl] unreachable code in brent.c,
Pablo Haramburu <=