bugGNU Scientific Library - Bugs: bug #39165, conditional arguments always...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #39165: conditional arguments always evaluating to true

Submitter:  Patrick Alken <psa>
Submitted:  Tue 04 Jun 2013 06:49:40 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Operating System:  Status:  Fixed
Assigned to:  None Open/Closed:  Open
Release: 

Tue 01 Oct 2013 04:02:07 PM UTC, comment #2: 

The Gegenbbauer polynomials degenerate to Chebyshev polynomials when lambda is zero and can hence be evaluated using T_n(x) = cos(n acos(x)) when |x| <= 1 and cosh(n acosh(x)) otherwise. The intent here is evidently to use the first form when |x| <= 1 but to rely on the gegenbauer recuurence relation when |x| > 1 rather than using the hyperbolic function form. I have hence changed the conditional expression to match this intent.

Brian Gladman <gladman>
Group Member
Sat 08 Jun 2013 06:48:48 AM UTC, comment #1: 

Redundant if for ode-initval2/driver.c removed in bzr rev 4829. Thanks!

Tuomo Keskitalo <tkeskita>
Group Member
Tue 04 Jun 2013 06:49:40 PM UTC, original submission:  

Reported by David Binderman:

[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.

Patrick Alken <psa>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gladman (Posted a comment)
  • -email is unavailable- added by tkeskita (Posted a comment)
  • -email is unavailable- added by psa (Submitted the item)
  •  

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-01 gladman StatusNone Fixed

    Back to the top

    Powered by Savane 3.14-79a4.
    Corresponding source code