Dave Peticolas wrote:
> 
> > Account Balance Tracker, Sub-Accounts must be selected to get this
> > error.
> > Seems a recursion has no proper abort condition ...
> 
> It just ran out of stack. I changed it to use iteration,
> could you try it now?

OK, the stack overflow is fixed. 
However there is still a small bug: The average for the last period
is wrong. Example:

   Beginning      Ending   Average       Max     Min     Net Gain     
Gain      Loss 
   1. 1.2000  31. 1.2000  4.454,00  2.662,79  5.525,83     139,35 
3.129,71  2.990,36 
   1. 2.2000  29. 2.2000  3.850,51  2.287,17  5.772,30  -1.264,72 
3.499,71  4.764,43 
   1. 3.2000   1. 4.2000  6.163,95  1.346,62  4.209,66   1.747,39 
2.863,04  1.115,65 
                          ^^^^^^^^
BTW: The Min value is greater than the Max value, maybe the column
titles should
be interchanged?

 Herbert.
-- 
Herbert Thoma
FhG-IIS A, Studio Department
Am Weichselgarten3, 91058 Erlangen, Germany
Phone: +49-9131-776-323
Fax:   +49-9131-776-399
email: [EMAIL PROTECTED]
www: http://www.iis.fhg.de/

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]


Reply via email to