ooo-build r13003 - in trunk: . patches/dev300



Author: kyoshida
Date: Mon Jun 30 19:59:56 2008
New Revision: 13003
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13003&view=rev

Log:
2008-06-30  Kohei Yoshida  <kyoshida novell com>

	* patches/dev300/sc-goalseek-higher-precision.diff: reduce the delta
	value for improved precision.  Some models failed with the old delta 
	value.

	* patches/dev300/apply: apply the above patch.


Added:
   trunk/patches/dev300/sc-goalseek-higher-precision.diff
Modified:
   trunk/ChangeLog
   trunk/patches/dev300/apply

Modified: trunk/patches/dev300/apply
==============================================================================
--- trunk/patches/dev300/apply	(original)
+++ trunk/patches/dev300/apply	Mon Jun 30 19:59:56 2008
@@ -726,6 +726,9 @@
 # is used, for Excel interoperability.
 sc-fit-to-width-height-skip-breaks.diff, n#404232, n#404563, kohei
 
+# reduce the delta value for improved precision.
+sc-goalseek-higher-precision.diff, kohei
+
 [ LinuxOnly ]
 # accelerate linking, by extreme cunning i#63927
 speed-local-link-except.diff, i#63927, michael

Added: trunk/patches/dev300/sc-goalseek-higher-precision.diff
==============================================================================
--- (empty file)
+++ trunk/patches/dev300/sc-goalseek-higher-precision.diff	Mon Jun 30 19:59:56 2008
@@ -0,0 +1,13 @@
+diff --git sc/source/core/tool/interpr2.cxx sc/source/core/tool/interpr2.cxx
+index bbcc83e..201ab27 100644
+--- sc/source/core/tool/interpr2.cxx
++++ sc/source/core/tool/interpr2.cxx
+@@ -1550,7 +1550,7 @@ void ScInterpreter::ScBackSolver()
+ 
+                 const USHORT nMaxIter = 100;
+                 const double fEps = 1E-10;
+-                const double fDelta = 1E-3;
++                const double fDelta = 1E-6;
+ 
+                 double fBestX, fXPrev;
+                 double fBestF, fFPrev;



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