summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Foster2011-05-12 14:50:48 -0700
committerNick Foster2011-05-12 14:50:48 -0700
commitc21132e07100c62182a27a8e282cb72463dd2963 (patch)
tree3ce1a98a1ae236b88ab0dcf82788c1f973b2575a
parent30fdc38d20d4e38908059b6e351c550de5741621 (diff)
downloadgnuradio-c21132e07100c62182a27a8e282cb72463dd2963.tar.gz
gnuradio-c21132e07100c62182a27a8e282cb72463dd2963.tar.bz2
gnuradio-c21132e07100c62182a27a8e282cb72463dd2963.zip
Volk: actually return the preferred arch
-rw-r--r--volk/lib/volk_rank_archs.c2
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);
}
}