Skip to content

Commit

Permalink
Merge pull request #297 from MostafaGomaa/pddl_parser/fixSupportForDi…
Browse files Browse the repository at this point in the history
…sjunctivePreconditions--mgomaa

[pddl_parser] Fix support for disjunctive-preconditions
  • Loading branch information
fmrico authored Apr 7, 2024
2 parents 6b93bb1 + 76a1dee commit c063ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plansys2_pddl_parser/include/plansys2_pddl_parser/Domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class Domain {
else if ( s == "non-deterministic" ) nondet = true;
else if ( s == "universal-preconditions" ) universal = true;
else if ( s == "fluents" ) fluents = true;
else if ( s == "disjuntive-preconditions" ) disj = true;
else if ( s == "disjunctive-preconditions" ) disj = true;
else if ( s == "derived-predicates" ) derivedpred = true;
else return false; // Unknown requirement

Expand Down Expand Up @@ -597,7 +597,7 @@ class Domain {
if ( nondet ) os << " :non-deterministic";
if ( universal ) os << " :universal-preconditions";
if ( fluents ) os << " :fluents";
if ( disj ) os << " :disjuntive-preconditions";
if ( disj ) os << " :disjunctive-preconditions";
if ( derivedpred ) os << " :derived-predicates";
os << " )\n";
return os;
Expand Down

0 comments on commit c063ce5

Please sign in to comment.