Skip to content

Conversation

@olaghattas
Copy link
Contributor

When objects in the PDDL have types and load_kb is used, getPlan fails to generate any plan because the init function is not populated correctly due to a type mismatch in the parse_predicate function.

Specifically, the following code:

if (param_to_type_map.find(param.name) != param_to_type_map.end()) {
    param.type = param_to_type_map.at(param.name);
}

relies on param_to_type_map being populated, but in the original implementation this map was only initialized and never filled with values, causing the type information to be missing.

…e an empty string and init of the problem doesnt get populated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant