diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-28 12:24:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-28 12:24:45 -0400 |
commit | bdea94a6653240e0e477eda186ceccbe6be00535 (patch) | |
tree | 64e57e8684f65fba4b0e953ef2a99d7fdb353a06 /src/or/circpathbias.c | |
parent | 6178a9f758d60f5fc896644f1b9b0aaf4c32f2a5 (diff) | |
download | tor-bdea94a6653240e0e477eda186ceccbe6be00535.tar.gz tor-bdea94a6653240e0e477eda186ceccbe6be00535.zip |
Move floating-point math functions into a new lib/math
Diffstat (limited to 'src/or/circpathbias.c')
-rw-r--r-- | src/or/circpathbias.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circpathbias.c b/src/or/circpathbias.c index 908b76b486..32b3212d3f 100644 --- a/src/or/circpathbias.c +++ b/src/or/circpathbias.c @@ -34,6 +34,8 @@ #include "or/entrynodes.h" #include "or/networkstatus.h" #include "or/relay.h" +#include "lib/math/fp.h" +#include "lib/math/laplace.h" #include "or/cell_st.h" #include "or/cpath_build_state_st.h" @@ -1574,4 +1576,3 @@ pathbias_scale_use_rates(entry_guard_t *guard) entry_guards_changed(); } } - |