gnumeric r16583 - in trunk: . plugins/derivatives



Author: mortenw
Date: Tue May 20 00:34:21 2008
New Revision: 16583
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16583&view=rev

Log:
2008-05-19  Morten Welinder  <terra gnome org>

	* options.c (opt_bs_delta1): Don't assert.  OS_Error can occur as
	in #533656.



Modified:
   trunk/NEWS
   trunk/plugins/derivatives/ChangeLog
   trunk/plugins/derivatives/options.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Tue May 20 00:34:21 2008
@@ -16,6 +16,7 @@
 	* Fix translation of function description.  [#533193]
 	* Fix R.QPOIS (and related functions) hang.  [#533515]
 	* Fix critical spew.  [#533511]
+	* Fix OPT_BS_DELTA assert.  [#533656]
 
 --------------------------------------------------------------------------
 Gnumeric 1.9.0

Modified: trunk/plugins/derivatives/options.c
==============================================================================
--- trunk/plugins/derivatives/options.c	(original)
+++ trunk/plugins/derivatives/options.c	Tue May 20 00:34:21 2008
@@ -275,7 +275,6 @@
 		return gnm_exp ((b - r) * t) * (ncdf (d1) - 1.0);
 
 	default:
-		g_assert_not_reached ();
 		return gnm_nan;
 	}
 }



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