Remove a source of error during path bias scaling
commitd80b881a52644fc05a65c0ff440449ea4c82c61b
authorMike Perry <mikeperry-git@fscked.org>
Sat, 19 Jan 2013 04:17:23 +0000 (18 20:17 -0800)
committerMike Perry <mikeperry-git@fscked.org>
Sat, 19 Jan 2013 05:23:33 +0000 (18 21:23 -0800)
tree202b1c9aa47c18a2a4a724e057f3f436ed74d8d0
parenta2db17a1aab77c4183f589815800a779a5f24524
Remove a source of error during path bias scaling

If any circuits were opened during a scaling event, we were scaling attempts
and successes by different amounts. This leads to rounding error.

The fix is to record how many circuits are in a state that hasn't been fully
counted yet, and subtract that before scaling, and add it back afterwords.
src/or/circuitbuild.c