Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix indentation issues causing compiler errors #24

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Polynomial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void Intervals::writeOffset(double t) const
}
else
{
if(LaTeX) *report << "$";
if(LaTeX) *report << "$";
for(vector< pair<intervalEnd,intervalEnd> >::const_iterator i = intervals.begin(); i != intervals.end();)
{

Expand Down
4 changes: 2 additions & 2 deletions src/Proposition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3074,7 +3074,7 @@ string Comparison::getExprnString(const expression * e,const Environment & bs) c
s += ")";


if(LaTeX) return "\\exprn{"+ s + "}";
if(LaTeX) return "\\exprn{"+ s + "}";
return s;

};
Expand Down Expand Up @@ -3146,7 +3146,7 @@ string Comparison::getExprnString(const expression * e,const Environment & bs, c
{
const FuncExp * fexp = s->getValidator()->fef.buildFuncExp(dynamic_cast<const func_term*>(e),bs);

if(LaTeX) return "\\exprn{"+ toString(fexp) + "}$[=" + toString(fexp->evaluate(s)) + "]$";
if(LaTeX) return "\\exprn{"+ toString(fexp) + "}$[=" + toString(fexp->evaluate(s)) + "]$";
return toString(fexp) + "[=" + toString(fexp->evaluate(s)) + "]";

};
Expand Down
2 changes: 1 addition & 1 deletion src/RobustAnalyse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ void RobustPlanAnalyser::calculatePNERobustness(double & robustnessOfPlan,double

string getPlanStepString(const plan_step * ps)
{
if(ps == 0) return "";
if(ps == 0) return "";
string act = "("+ps->op_sym->getName();
for(typed_symbol_list<const_symbol>::const_iterator j = ps->params->begin();
j != ps->params->end(); ++j)
Expand Down
4 changes: 2 additions & 2 deletions src/Validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3213,9 +3213,9 @@ pair<const plan_step *,pair<bool,bool> > PlanRepair::repairPlanOneAction(const p


if(planRepairValidator->getErrorLog().getConditions().size() == 0)
{ if(planRepairValidator->checkGoal(theGoal)) //goalSatisfied = true;
{
//cout << "Satisfied "<< actionName << " at time "<<actionTime<<"\n";
actionFixed = true; planRepaired = true; break;
actionFixed = true; planRepaired = true; break;
};


Expand Down