summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/configuration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 77eb374..00e6bdd 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -526,7 +526,7 @@ Configuration::Build(int argc, const char **argv)
return std::make_tuple(conf, 1, true);
}
- conf.width_ = maxi - mini;
+ conf.width_ = maxi - mini + 1; /* see also FFT::Crop() */
if (conf.width_ == 0) {
std::cerr
<< "'fmin' and 'fmax' are either equal or very close, which is not allowed when not resampling (-q, --no_resampling)."