aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/usrp_cal_utils.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-11-15 16:22:18 -0800
committerJosh Blum <josh@joshknows.com>2011-11-15 16:22:18 -0800
commit18abd4dbbf29ec9372bdd2ee83288fc94c20534c (patch)
tree325ce37ad5dbec664bca112c9fae96604fe82073 /host/utils/usrp_cal_utils.hpp
parentf68a9271f448a8c8878e2f0fb03b801f345287b3 (diff)
downloaduhd-18abd4dbbf29ec9372bdd2ee83288fc94c20534c.tar.gz
uhd-18abd4dbbf29ec9372bdd2ee83288fc94c20534c.tar.bz2
uhd-18abd4dbbf29ec9372bdd2ee83288fc94c20534c.zip
uhd: support for applying cal corrections B100
Diffstat (limited to 'host/utils/usrp_cal_utils.hpp')
-rw-r--r--host/utils/usrp_cal_utils.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/usrp_cal_utils.hpp b/host/utils/usrp_cal_utils.hpp
index 5378b0d69..3058cd928 100644
--- a/host/utils/usrp_cal_utils.hpp
+++ b/host/utils/usrp_cal_utils.hpp
@@ -73,7 +73,7 @@ static inline void set_optimum_gain(uhd::usrp::multi_usrp::sptr usrp){
static inline std::vector<std::complex<float> > gen_table(void){
std::vector<std::complex<float> > wave_table(wave_table_len);
for (size_t i = 0; i < wave_table_len; i++){
- wave_table[i] = std::polar<float>(1.0, (tau*i)/wave_table_len);
+ wave_table[i] = std::complex<float>(std::polar(1.0, (tau*i)/wave_table_len));
}
return wave_table;
}