summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2025-05-21 13:42:02 -0300
committerJaron Kent-Dobias <jaron@kent-dobias.com>2025-05-21 13:42:02 -0300
commit76e9370717a4440988758bf93ed3404386cb816d (patch)
tree451fe5a41a01cac40fd61b90d4fe56c582fd1686
parent5b020c12a27bfbbcf29fe8ef0990faecdbbeb764 (diff)
downloadcode-76e9370717a4440988758bf93ed3404386cb816d.tar.gz
code-76e9370717a4440988758bf93ed3404386cb816d.tar.bz2
code-76e9370717a4440988758bf93ed3404386cb816d.zip
Don't use C++ complex pretty-printingHEADmaster
-rw-r--r--print_correlations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/print_correlations.cpp b/print_correlations.cpp
index 45a10b5..4627119 100644
--- a/print_correlations.cpp
+++ b/print_correlations.cpp
@@ -78,7 +78,7 @@ int main(int argc, char* argv[]) {
logFourierLoad(C, R, Ĉ, Ȓ, p, s, λ, τ₀, β, log2n, Δτ, logShift);
for (unsigned n = 0; n < N; n++) {
- std::cout << fft.t(n) << " " << C[n] << " " << R[n] << " " << fft.ν(n) << " " << Ĉ[n] << " " << Ȓ[n] << std::endl;
+ std::cout << fft.t(n) << " " << C[n] << " " << R[n] << " " << fft.ν(n) << " " << Ĉ[n].real() << " " << Ȓ[n].real() << " " << Ȓ[n].imag() << std::endl;
}
}