diff options
author | Nick Foster | 2011-05-12 14:50:48 -0700 |
---|---|---|
committer | Nick Foster | 2011-05-12 14:50:48 -0700 |
commit | c21132e07100c62182a27a8e282cb72463dd2963 (patch) | |
tree | 3ce1a98a1ae236b88ab0dcf82788c1f973b2575a | |
parent | 30fdc38d20d4e38908059b6e351c550de5741621 (diff) | |
download | gnuradio-c21132e07100c62182a27a8e282cb72463dd2963.tar.gz gnuradio-c21132e07100c62182a27a8e282cb72463dd2963.tar.bz2 gnuradio-c21132e07100c62182a27a8e282cb72463dd2963.zip |
Volk: actually return the preferred arch
-rw-r--r-- | volk/lib/volk_rank_archs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/volk/lib/volk_rank_archs.c b/volk/lib/volk_rank_archs.c index 1b75af8f4..e10433fd0 100644 --- a/volk/lib/volk_rank_archs.c +++ b/volk/lib/volk_rank_archs.c @@ -30,7 +30,7 @@ unsigned int volk_rank_archs(const char *indices[], const int* arch_defs, unsign //now look for the function name in the prefs list for(i=0; i < n_arch_prefs; i++) { if(!strncmp(name, volk_arch_prefs[i].name, 128)) { //found it - best_val = get_index(indices, n_archs, volk_arch_prefs[i].arch); + return get_index(indices, n_archs, volk_arch_prefs[i].arch); } } |