aboutsummaryrefslogtreecommitdiffstats
path: root/packages/gnuplot/gnuplot-4.0.0/matrix.patch
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-01-27 13:37:05 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-01-27 13:37:05 +0000
commit21f59f2c47b9a0014c530ee5711f462469c7b9ed (patch)
treebd47b1f000957ee036ebab818bf476c853be179a /packages/gnuplot/gnuplot-4.0.0/matrix.patch
parent61a894fa6c61f60bf9f6de2303dc64e01ed01723 (diff)
downloadopenembedded-21f59f2c47b9a0014c530ee5711f462469c7b9ed.tar.gz
openembedded-21f59f2c47b9a0014c530ee5711f462469c7b9ed.tar.bz2
openembedded-21f59f2c47b9a0014c530ee5711f462469c7b9ed.zip
gnuplot: update 4.2.2, add 4.3.0+cvs
* restructure patch directories * update angstrom-preferred
Diffstat (limited to 'packages/gnuplot/gnuplot-4.0.0/matrix.patch')
-rw-r--r--packages/gnuplot/gnuplot-4.0.0/matrix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gnuplot/gnuplot-4.0.0/matrix.patch b/packages/gnuplot/gnuplot-4.0.0/matrix.patch
new file mode 100644
index 0000000000..10f56d9f6a
--- /dev/null
+++ b/packages/gnuplot/gnuplot-4.0.0/matrix.patch
@@ -0,0 +1,17 @@
+--- gnuplot-4.0.0/src/matrix.c.old 2004-04-13 18:23:58.000000000 +0100
++++ gnuplot-4.0.0/src/matrix.c 2005-03-01 12:38:07.068232748 +0000
+@@ -290,9 +290,12 @@
+ *d = 1.0;
+ for (ar = a, lim = &(a[n]); ar < lim; ar++) {
+ large = 0.0;
+- for (ac = *ar, limc = &(ac[n]); ac < limc;)
+- if ((temp = fabs(*ac++)) > large)
++ for (ac = *ar, limc = &(ac[n]); ac < limc;){
++ temp = *ac++;
++ temp = fabs(temp);
++ if (temp > large)
+ large = temp;
++ }
+ if (large == 0.0)
+ int_error(NO_CARET, "Singular matrix in LU-DECOMP");
+ *dp++ = 1 / large;