Skip to content
Snippets Groups Projects
Commit 632b005c authored by Nico's avatar Nico
Browse files

Update EQ_OneParameter.cxx...

parent 91a1238c
No related branches found
No related tags found
No related merge requests found
...@@ -252,9 +252,9 @@ map <string , vector<double> > EQ_OneParameter::BuildFuel(double BurnUp, double ...@@ -252,9 +252,9 @@ map <string , vector<double> > EQ_OneParameter::BuildFuel(double BurnUp, double
lambda[(*it_s_vIV).first].push_back(0); lambda[(*it_s_vIV).first].push_back(0);
} }
} }
// Test if there is at least one stock available in each list, otherwise fuel is not built // // Test if there is at least one stock available in each list, otherwise fuel is not built //
bool BreakReturnLambda = false; bool BreakReturnLambda = false;
/*
for ( it_s_vIV = StreamArray.begin(); it_s_vIV != StreamArray.end(); it_s_vIV++) for ( it_s_vIV = StreamArray.begin(); it_s_vIV != StreamArray.end(); it_s_vIV++)
{ {
if (StreamArray[(*it_s_vIV).first].size() == 0) if (StreamArray[(*it_s_vIV).first].size() == 0)
...@@ -265,7 +265,7 @@ map <string , vector<double> > EQ_OneParameter::BuildFuel(double BurnUp, double ...@@ -265,7 +265,7 @@ map <string , vector<double> > EQ_OneParameter::BuildFuel(double BurnUp, double
} }
} }
if (BreakReturnLambda) { return lambda;} if (BreakReturnLambda) { return lambda;}
*/
// Check if the targeted burn-up is lower than maximum burn-up of model // // Check if the targeted burn-up is lower than maximum burn-up of model //
if (BurnUp > fMaximalBU) if (BurnUp > fMaximalBU)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment