summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2021-12-09 14:57:58 +0100
committerJaron Kent-Dobias <jaron@kent-dobias.com>2021-12-09 14:57:58 +0100
commit1227d7bba8f6e25c99b93aa300b07918ecec2652 (patch)
tree26626956f44e5547e500a5c785509cf4f0ef8a57
parent3183619c455b7e3ca2e365ffdf6ee50988d8c3c5 (diff)
downloadcode-1227d7bba8f6e25c99b93aa300b07918ecec2652.tar.gz
code-1227d7bba8f6e25c99b93aa300b07918ecec2652.tar.bz2
code-1227d7bba8f6e25c99b93aa300b07918ecec2652.zip
Fixed a stupid bug.
-rw-r--r--collectStokesData.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectStokesData.hpp b/collectStokesData.hpp
index 8b85d6b..50a43c5 100644
--- a/collectStokesData.hpp
+++ b/collectStokesData.hpp
@@ -43,7 +43,7 @@ void collectStokesData(std::string tag, unsigned N, Generator& r, Real ε, Real
while ((zSaddle - zMin).norm() < newSaddleThres * N || abs(imag(M.getHamiltonian(zSaddle))) < 1e-10) {
Vector<Complex> z0 = normalize(zSaddle + δz * randomVector<Complex>(N, d, r));
zSaddle = findSaddle(M, z0, ε);
- δz₀ *= 1.01;
+ δz *= 1.01;
}
Complex Hz;