From 09adffc5f67dbb41905b254224e8c2d2b46d1516 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 9 Nov 2021 10:23:52 +0100 Subject: Fixed bug in mixed-spin energy evalutaion. --- p-spin.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p-spin.hpp b/p-spin.hpp index a5f6c9a..7a49bca 100644 --- a/p-spin.hpp +++ b/p-spin.hpp @@ -46,7 +46,7 @@ std::tuple, Matrix, Tensor> hamGradHes Scalar H = Jzzz / pBang; if constexpr (sizeof...(Js) > 0) { - auto [Hs, dHs, ddHs, dddHs] = hamGradHess(z, Js...); + auto [Hs, dHs, ddHs, dddHs] = hamGradHessHelper(z, Js...); H += Hs; dH += dHs; ddH += ddHs; -- cgit v1.2.3-70-g09d2