diff options
| author | Michael Lauer <mickey@vanille-media.de> | 2008-01-28 20:43:08 +0000 |
|---|---|---|
| committer | Michael Lauer <mickey@vanille-media.de> | 2008-01-28 20:43:08 +0000 |
| commit | d3422da17dbc0353f7ca8e6c8202201b3ff54af2 (patch) | |
| tree | 4ebad87462bca8a06ad39538554be5e0fb8b452d /packages/gnuplot/gnuplot-4.0.0/matrix.patch | |
| parent | 8314927eacf95b2f0cb38d4a81ce2b0d555e293d (diff) | |
| parent | cdd4a5cedce39a419cb8b217770edf5dd7e7f319 (diff) | |
merge of '1c44ae3b4aae69a8d66c7c068c44f337bc51f559'
and 'd039068c51d6eb51dd6d0bd1dd1306d490e3d527'
Diffstat (limited to 'packages/gnuplot/gnuplot-4.0.0/matrix.patch')
| -rw-r--r-- | packages/gnuplot/gnuplot-4.0.0/matrix.patch | 17 |
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; |
