gnumeric r16571 - branches/gnumeric-1-8/plugins/fn-stat



Author: mortenw
Date: Sat May 17 01:10:20 2008
New Revision: 16571
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16571&view=rev

Log:
logest too



Modified:
   branches/gnumeric-1-8/plugins/fn-stat/functions.c

Modified: branches/gnumeric-1-8/plugins/fn-stat/functions.c
==============================================================================
--- branches/gnumeric-1-8/plugins/fn-stat/functions.c	(original)
+++ branches/gnumeric-1-8/plugins/fn-stat/functions.c	Sat May 17 01:10:20 2008
@@ -4787,7 +4787,7 @@
 		GnmValue *copy = value_dup (argv[1]);
 		int firstrow = argv[1]->v_range.cell.a.row;
 		int lastrow  = argv[1]->v_range.cell.b.row;
-		if (firstrow < lastrow) {
+		if (firstrow > lastrow) {
 			int tmp = firstrow;
 			firstrow = lastrow;
 			lastrow = tmp;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]