gnumeric r16584 - in branches/gnumeric-1-8: . plugins/derivatives



Author: mortenw
Date: Tue May 20 00:34:45 2008
New Revision: 16584
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16584&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:
   branches/gnumeric-1-8/NEWS
   branches/gnumeric-1-8/plugins/derivatives/ChangeLog
   branches/gnumeric-1-8/plugins/derivatives/options.c

Modified: branches/gnumeric-1-8/NEWS
==============================================================================
--- branches/gnumeric-1-8/NEWS	(original)
+++ branches/gnumeric-1-8/NEWS	Tue May 20 00:34:45 2008
@@ -33,6 +33,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.8.2

Modified: branches/gnumeric-1-8/plugins/derivatives/options.c
==============================================================================
--- branches/gnumeric-1-8/plugins/derivatives/options.c	(original)
+++ branches/gnumeric-1-8/plugins/derivatives/options.c	Tue May 20 00:34:45 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]