Browse Source

fix bug when do classification.

gsp 3 years ago
parent
commit
3b8f3134c0
1 changed files with 5 additions and 0 deletions
  1. 5 0
      OTSCPP/OTSClassifyEngine/InclutionEngine/OTSClassifyEng.cpp

+ 5 - 0
OTSCPP/OTSClassifyEngine/InclutionEngine/OTSClassifyEng.cpp

@@ -632,6 +632,7 @@ namespace OTSClassifyEngine
 				// real earth elements process
 				case STEEL_TECHNOLOGY::RareEarthMode:
 				{
+					listChemistriesToAnalysis = a_listElChemsIncNoFe;
 					// try to get Ce element chemistry
 					CElementChemistryPtr pElChemCe = GetNamedElementChemistry(a_listElChemsIncNoFe, INC_SUL_SUB_ELEMENT_NAMES[3]);
 					BOOL bCeMapped = FALSE;
@@ -680,6 +681,10 @@ namespace OTSClassifyEngine
 					}
 				}
 				break;
+				default:
+					listChemistriesToAnalysis = a_listElChemsIncNoFe;
+					break;
+
 			}
 		}