[gnumeric] forgotten line of code in gnm_matrix_eigen_max_index
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] forgotten line of code in gnm_matrix_eigen_max_index
- Date: Mon, 3 May 2010 15:10:33 +0000 (UTC)
commit 1e18d7a5324fcd6fc70b4be3c5be85f633599391
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Mon May 3 09:10:04 2010 -0600
forgotten line of code in gnm_matrix_eigen_max_index
src/mathfunc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/mathfunc.c b/src/mathfunc.c
index 5568041..f4acfb5 100644
--- a/src/mathfunc.c
+++ b/src/mathfunc.c
@@ -7806,6 +7806,8 @@ gnm_matrix_eigen_max_index (gnm_float *row, guint row_n, guint size)
if (res >= size)
return (size - 1);
+ max = gnm_abs (row[res]);
+
for (i = res + 1; i < size; i++)
if (gnm_abs (row[i]) > max) {
res = i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]