[Gnucash-changes] r13248 - gnucash/trunk/src/calculation - Fix Bug 107876 - financial calculator would call exit(1) if calculation resulted in an interest rate of zero.

Neil Williams linux at codehelp.co.uk
Mon Feb 13 09:06:56 EST 2006


On Monday 13 February 2006 11:53 am, Christian Stimming wrote:
> Hi Neil,

(I'm beginning to regret fixing this bug!)

> > Hopefully, using g_return_val_if_fail will make it clear that returning
> > 0.0 from functions that calculate interest rates indicates a failure.

> However, I think you got the condition in g_return_val_if_fail() the
> wrong way --

OMG. Yes. Fixed.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20060213/4bd5f601/attachment.bin


More information about the gnucash-devel mailing list