[gnumeric] MUNIT: Up limit to 5000.



commit d195879aaf3de988dc4cca46b20b0491090eb8a5
Author: Morten Welinder <terra gnome org>
Date:   Sun Jan 20 19:05:59 2013 -0500

    MUNIT: Up limit to 5000.
    
    Things start to go crazy about 7000.

 plugins/fn-math/functions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/fn-math/functions.c b/plugins/fn-math/functions.c
index 9561c25..207e603 100644
--- a/plugins/fn-math/functions.c
+++ b/plugins/fn-math/functions.c
@@ -2720,7 +2720,7 @@ gnumeric_munit (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
 	 * running out of memory.
 	 */
 	if (n * n >= G_MAXINT ||
-	    n > 1000) /* Arbitrary */
+	    n > 5000) /* Arbitrary */
 		return value_new_error_NUM (ei->pos);
 
 	ni = (int)n;



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