diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-08-18 15:31:43 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-08-18 15:31:43 +0200 |
commit | 948a20a914b960c408534acba042d645a2639fd9 (patch) | |
tree | 55a69f9a42b0bd637d65640fd8a43302217e4e87 /src | |
parent | a017dcb2369eb552157bdb0ec848e070db10fe73 (diff) | |
download | dabmod-948a20a914b960c408534acba042d645a2639fd9.tar.gz dabmod-948a20a914b960c408534acba042d645a2639fd9.tar.bz2 dabmod-948a20a914b960c408534acba042d645a2639fd9.zip |
Improve memlesspoly error message
Diffstat (limited to 'src')
-rw-r--r-- | src/MemlessPoly.cpp | 2 |
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); |