Skip to content

Commit

Permalink
fixed type printing
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Apr 24, 2024
1 parent 6ac1fd1 commit 46c7553
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pddl/problem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ void ProblemImpl::str_impl(std::ostream& out, const FormattingOptions& options)
for (size_t i = 0; i < objects.size(); ++i)
{
if (i != 0)
out << " " << objects[i]->get_name();
{
out << " ";
}
out << objects[i]->get_name();
}
if (m_requirements->test(RequirementEnum::TYPING))
{
Expand Down

0 comments on commit 46c7553

Please sign in to comment.