summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-12 13:36:39 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-12 13:36:39 -0400
commitd6ab65650323814121e6a3676eb199632aa6f336 (patch)
tree62c5a607775c0eb6498ed22122a9622a9e3c77fc /src
parent1a6fb4654086f843fd50e363854341ad42895a26 (diff)
downloadc++-d6ab65650323814121e6a3676eb199632aa6f336.tar.gz
c++-d6ab65650323814121e6a3676eb199632aa6f336.tar.bz2
c++-d6ab65650323814121e6a3676eb199632aa6f336.zip
added time limit to fftw planner
Diffstat (limited to 'src')
-rw-r--r--src/analyze_correlations.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analyze_correlations.cpp b/src/analyze_correlations.cpp
index 16c3d3a..4695702 100644
--- a/src/analyze_correlations.cpp
+++ b/src/analyze_correlations.cpp
@@ -81,6 +81,8 @@ int main (int argc, char *argv[]) {
}
FILE *metadata;
+ fftw_set_timelimit(10);
+
if (from_stdin) {
metadata = stdin;
} else {