summaryrefslogtreecommitdiff
path: root/packages/gnuplot/gnuplot-4.0.0/matrix.patch
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-01-28 08:06:48 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-01-28 08:06:48 +0000
commitb7546e3f46c52c23ab2cfbf0a0b1e13597cd20ef (patch)
tree1a90eec6d43d7bf4b7f12f2d3de3e8de24097152 /packages/gnuplot/gnuplot-4.0.0/matrix.patch
parent937675435a1f0e44511bdc8ff6ef1d5d4029d5b8 (diff)
parent2c7c8e8d65c63b9492ccc6f754fed2a4307908cd (diff)
merge of '36133f7d8e7f5d20b7036c64abff8ec2452f0282'
and 'cec9ba770f42c95b32a71550f948c06c6fdf7e48'
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;