From c2106d0aedb29662c0d56c54d5e4874e01e5a1cf Mon Sep 17 00:00:00 2001 From: Dan Vasilescu Date: Fri, 6 Aug 2021 16:45:19 -0400 Subject: [PATCH] Anchor boolean was out of place. --- NFsim_v1.11/src/NFcore/moleculeType.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NFsim_v1.11/src/NFcore/moleculeType.cpp b/NFsim_v1.11/src/NFcore/moleculeType.cpp index 792ae0e07..c25d9a768 100644 --- a/NFsim_v1.11/src/NFcore/moleculeType.cpp +++ b/NFsim_v1.11/src/NFcore/moleculeType.cpp @@ -158,6 +158,7 @@ void MoleculeType::init( //Register myself with the system, and get an ID number + this->bHasAnchors = hasAnchors; this->system = system; this->type_id = this->system->addMoleculeType(this); @@ -168,8 +169,7 @@ void MoleculeType::init( // // given the list of anchors, match them against list of locations to find the indices of the anchors. // - this->bHasAnchors = hasAnchors; - if (bHasAnchors){ + if (bHasAnchors){ vector& locationNames = possibleCompStates.at(NFcore::Complex::INDEX_VCELL_LOCATION); for (size_t i=0; i