From ed7f5a872db4e5fa9f115e4d196567678fcb6711 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 2 Apr 2024 17:55:02 +0200 Subject: Changed convention to match Fyodorov. --- tensor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tensor.hpp') diff --git a/tensor.hpp b/tensor.hpp index 58c2434..7f98d02 100644 --- a/tensor.hpp +++ b/tensor.hpp @@ -88,7 +88,7 @@ Tensor

generateCouplings(unsigned N, unsigned M, Distribution d, Generator& r template Tensor

generateRealPSpinCouplings(unsigned N, unsigned M, Generator& r) { - Real σp = sqrt(factorial(p-1) / ((Real)2 * pow(N, p - 1))); + Real σp = sqrt(factorial(p-1) / ((Real)pow(N, p - 1))); return generateCouplings

(N, M, std::normal_distribution(0, σp), r); } -- cgit v1.2.3-70-g09d2