aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-17 15:35:36 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-17 15:35:36 +0200
commit6a9af4b8ff4f73e01ccb3bd07c0a971ef503c73d (patch)
treeb2f1af9fd24fab63dedd8049a2d8b5c4312d5426
parenta82f72eb04d4b5766f12d94febdf2f989ca7210a (diff)
downloaddabmod-6a9af4b8ff4f73e01ccb3bd07c0a971ef503c73d.tar.gz
dabmod-6a9af4b8ff4f73e01ccb3bd07c0a971ef503c73d.tar.bz2
dabmod-6a9af4b8ff4f73e01ccb3bd07c0a971ef503c73d.zip
Move default poly to dpd/poly.coef
-rw-r--r--dpd/dpd.ini2
-rw-r--r--dpd/poly.coef (renamed from dpdpoly.coef)0
-rw-r--r--src/ConfigParser.cpp2
3 files changed, 2 insertions, 2 deletions
diff --git a/dpd/dpd.ini b/dpd/dpd.ini
index 21d7d45..eb221e3 100644
--- a/dpd/dpd.ini
+++ b/dpd/dpd.ini
@@ -22,7 +22,7 @@ enabled=1
[poly]
enabled=1
-polycoeffile=dpdpoly.coef
+polycoeffile=dpd/poly.coef
# How many threads to use for the predistorter.
# If not set, detect automatically.
diff --git a/dpdpoly.coef b/dpd/poly.coef
index b29fa26..b29fa26 100644
--- a/dpdpoly.coef
+++ b/dpd/poly.coef
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index f27eb08..9ac1280 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -171,7 +171,7 @@ static void parse_configfile(
// Poly coefficients:
if (pt.get("poly.enabled", 0) == 1) {
mod_settings.polyCoefFilename =
- pt.get<std::string>("poly.polycoeffile", "default");
+ pt.get<std::string>("poly.polycoeffile", "dpd/poly.coef");
mod_settings.polyNumThreads =
pt.get<int>("poly.num_threads", 0);