equal
deleted
inserted
replaced
|
1 Fix an optimization issue seen with Studion 12.1 with Solaris 11.3 when |
|
2 compiling with -xO4. The problem has been fixed in Studio 12.4, so the |
|
3 issue will go away when the Solaris 11.X release updates to that in its CBE. |
|
4 |
|
5 This patch will not be sent upstream. |
|
6 |
|
7 --- gsl-1.16/interpolation/linear.c.orig 2015-06-01 15:58:46.278682889 -0700 |
|
8 +++ gsl-1.16/interpolation/linear.c 2015-06-01 16:28:26.000366577 -0700 |
|
9 @@ -157,7 +157,7 @@ |
|
10 *result = 0.0; |
|
11 |
|
12 /* interior intervals */ |
|
13 - for(i=index_a; i<=index_b; i++) { |
|
14 + for(i=index_a; i<index_b+1; i++) { |
|
15 const double x_hi = x_array[i + 1]; |
|
16 const double x_lo = x_array[i]; |
|
17 const double y_lo = y_array[i]; |