aboutsummaryrefslogtreecommitdiffstats
path: root/src/MemlessPoly.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MemlessPoly.cpp')
-rw-r--r--src/MemlessPoly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MemlessPoly.cpp b/src/MemlessPoly.cpp
index 515e2bd..844f795 100644
--- a/src/MemlessPoly.cpp
+++ b/src/MemlessPoly.cpp
@@ -90,7 +90,7 @@ void MemlessPoly::load_coefficients(const std::string &coefFile)
}
else if (n_coefs != NUM_COEFS) {
throw std::runtime_error("MemlessPoly: invalid number of coefs: " +
- std::to_string(coefs.size()));
+ std::to_string(n_coefs) + " expected " + std::to_string(NUM_COEFS));
}
etiLog.log(debug, "MemlessPoly: Reading %d coefs...", n_coefs);