[beast/devel: 5/77] TOOLS: use Bse::binary_lookup* functions



commit d7d7cf42da79ca89e8cce2812b7147d087d762ec
Author: Tim Janik <timj gnu org>
Date:   Thu Mar 28 18:33:52 2013 +0000

    TOOLS: use Bse::binary_lookup* functions

 tools/bwtwave.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/bwtwave.cc b/tools/bwtwave.cc
index a19529e..c42f14a 100644
--- a/tools/bwtwave.cc
+++ b/tools/bwtwave.cc
@@ -174,7 +174,7 @@ Wave::match (const WaveChunk &wchunk,
              vector<float>   &sorted_freqs)
 {
   gfloat osc_freq = gsl_data_handle_osc_freq (wchunk.dhandle);
-  vector<float>::iterator it = Birnet::binary_lookup_sibling (sorted_freqs.begin(), sorted_freqs.end(), 
compare_floats, osc_freq);
+  vector<float>::iterator it = Bse::binary_lookup_sibling (sorted_freqs.begin(), sorted_freqs.end(), 
compare_floats, osc_freq);
   if (it == sorted_freqs.end())
     return false;
   if (fabs (*it - osc_freq) < 0.01)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]