Skip to content

Commit

Permalink
add notes
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@737 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
linas committed Mar 26, 1998
1 parent d1d574e commit 5c7f13a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/engine/Transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ xaccTransRebalance (Transaction * trans)
xaccSplitRebalance (&(trans->source_split));
}

/* hack alert -- the Rebalance algorithm is wrong. Needs fixing */
void
xaccSplitRebalance (Split *split)
{
Expand Down
1 change: 1 addition & 0 deletions src/engine/Transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ void xaccTransAppendSplit (Transaction *, Split *);
void xaccTransRemoveSplit (Transaction *, Split *);

/*
* HACK ALERT *** this algorithm is wrong. Needs fixing.
* The xaccSplitRebalance() routine is an important routine for
* maintaining and ensuring that double-entries balance properly.
* This routine forces the sum-total of the values of all the
Expand Down

0 comments on commit 5c7f13a

Please sign in to comment.