Skip to content

Commit

Permalink
Remove unused variable from Markdown_Compiler compile_domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Maumagnaguagno committed Mar 5, 2024
1 parent e882919 commit de98e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compilers/Markdown_Compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def compile_domain(domain_name, problem_name, operators, methods, predicates, st
output << "\n## Methods"
methods.each_with_index {|(name,param,*decompositions),i|
output << "\n#{name.capitalize} | #{param.join(' ')} ||\n--- | --- | ---\n***Label*** | ***Preconditions*** | ***Subtasks***"
decompositions.each {|label,free,precond_pos,precond_not,subtasks|
decompositions.each {|label,_,precond_pos,precond_not,subtasks|
output << "\n|#{label}"
index = 0
precond_pos.each {|pre|
Expand Down

0 comments on commit de98e96

Please sign in to comment.