diff --git a/sapfor/experts/Sapfor_2017/_src/Transformations/checkpoints.cpp b/sapfor/experts/Sapfor_2017/_src/Transformations/checkpoints.cpp index 9167653..97fe686 100644 --- a/sapfor/experts/Sapfor_2017/_src/Transformations/checkpoints.cpp +++ b/sapfor/experts/Sapfor_2017/_src/Transformations/checkpoints.cpp @@ -48,7 +48,7 @@ static void findDecls(SgExpression* ex, vector& local, const map< localParams.find(ex->symbol()->identifier()) == localParams.end()) { if (added.find(ex->symbol()->identifier()) == added.end() && - IntentInadded.find(ex->symbol()->identifier()) == IntentInadded.end()) + IntentInParams.find(ex->symbol()->identifier()) == IntentInParams.end()) { added.insert(ex->symbol()->identifier()); local.push_back(ex); @@ -60,7 +60,7 @@ static void findDecls(SgExpression* ex, vector& local, const map< { if (ex->symbol()->variant() == VARIABLE_NAME && added.find(ex->symbol()->identifier()) == added.end() && - IntentInadded.find(ex->symbol()->identifier()) == IntentInadded.end()) + IntentInParams.find(ex->symbol()->identifier()) == IntentInParams.end()) { added.insert(ex->symbol()->identifier()); local.push_back(new SgArrayRefExp(*ex->symbol()));