Browse Source

修改零元素处理在系统库上的bug

cxs 1 năm trước cách đây
mục cha
commit
f611bfdb53
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      OTSCPP/OTSClassifyEngine/InclutionClassifyEngine.cpp

+ 3 - 1
OTSCPP/OTSClassifyEngine/InclutionClassifyEngine.cpp

@@ -132,7 +132,9 @@ namespace OTSClassifyEngine
 	bool InclutionClassifyEngine::ZeroElementProcess(COTSParticlePtr particle)
 	{
 		auto chems = particle->GetXrayInfo()->GetElementQuantifyData();
-		m_Engine->NominateElChemsList(chems, chems);
+		CElementChemistriesList chemsOut;
+		m_Engine->NominateElChemsList(chems, chemsOut);
+		particle->GetXrayInfo()->SetElementQuantifyData(chemsOut);
 		return true;
 	}