diff options
Diffstat (limited to 'dynamics.hpp')
-rw-r--r-- | dynamics.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dynamics.hpp b/dynamics.hpp index 36b2dfa..4f33c1a 100644 --- a/dynamics.hpp +++ b/dynamics.hpp @@ -9,7 +9,7 @@ template <class Real, int ...ps> Vector<Real> findMinimum(const pSpinModel<Real, ps...>& M, const Vector<Real>& z0, Real ε) { Vector<Real> z = z0; - Real λ = 10; + Real λ = 100; Real H; Vector<Real> dH; @@ -91,7 +91,7 @@ Vector<Real> randomMinimum(const pSpinModel<Real, ps...>& M, Distribution d, Gen bool foundSaddle = false; while (!foundSaddle) { - Vector<Real> z0 = normalize(randomVector<Real>(M.dimension(), d, r.engine())); + Vector<Real> z0 = normalize(randomVector<Real>(M.dimension(), d, r)); try { zSaddle = findMinimum(M, z0, ε); |