diff --git a/plansys2_pddl_parser/include/plansys2_pddl_parser/Domain.h b/plansys2_pddl_parser/include/plansys2_pddl_parser/Domain.h index b42e3e37..3e62ed22 100644 --- a/plansys2_pddl_parser/include/plansys2_pddl_parser/Domain.h +++ b/plansys2_pddl_parser/include/plansys2_pddl_parser/Domain.h @@ -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 @@ -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;