From 9c9044a85f28e75d1d7ea7c70a159820ad501427 Mon Sep 17 00:00:00 2001 From: Pukhraj Motwani <148884916+pm-235779@users.noreply.github.com> Date: Tue, 7 Jan 2025 01:47:07 +0530 Subject: [PATCH] #82 Update genciwfn.cpp Issue Details File: genciwfn.cpp - Line: 46 Incorrect Variable: nword2 Correct Variable: nword Code Before Correction k += wfn.nword2; Code After Correction k += wfn.nword; --- pyci/src/genciwfn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyci/src/genciwfn.cpp b/pyci/src/genciwfn.cpp index b3d3f44..bf146b2 100644 --- a/pyci/src/genciwfn.cpp +++ b/pyci/src/genciwfn.cpp @@ -39,7 +39,7 @@ GenCIWfn::GenCIWfn(const FullCIWfn &wfn) : OneSpinWfn(wfn.nbasis * 2, wfn.nocc, occs_dn[j] += wfn.nbasis; fill_det(wfn.nocc, occs_up, &dets[k]); dict[rank_det(&dets[k])] = i; - k += wfn.nword2; + k += wfn.nword; } }