diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-11-09 10:23:52 +0100 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-11-09 10:23:52 +0100 |
commit | 09adffc5f67dbb41905b254224e8c2d2b46d1516 (patch) | |
tree | c143a65cc0f7d1a021ca11cafc1088348532f5f7 | |
parent | 7bf6e952b53699977f5091a78f0f9f48f7b359c5 (diff) | |
download | code-09adffc5f67dbb41905b254224e8c2d2b46d1516.tar.gz code-09adffc5f67dbb41905b254224e8c2d2b46d1516.tar.bz2 code-09adffc5f67dbb41905b254224e8c2d2b46d1516.zip |
Fixed bug in mixed-spin energy evalutaion.
-rw-r--r-- | p-spin.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ std::tuple<Scalar, Vector<Scalar>, Matrix<Scalar>, Tensor<Scalar, 3>> 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; |