|
From: | Patrick Alken |
Subject: | Re: [Bug-gsl] gsl-1.15: 2 * bad if test ? |
Date: | Tue, 04 Jun 2013 12:55:03 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
Hi thanks for this report. I made a bug report #39165 to track this. On 06/03/2013 12:01 PM, David Binderman wrote:
Hello there, I just ran the static analyser "cppcheck" over the source code of gsl-1.15. Amongst other things, it said [gegenbauer.c:110]: (warning) Logical disjunction always evaluates to true: x>= -1.0 || x <= 1.0. [driver.c:114]: (warning) Logical disjunction always evaluates to true: hmin>= 0.0 || hmin < 0.0. Suggest replace || with && Regards David Binderman
[Prev in Thread] | Current Thread | [Next in Thread] |