tilly111 / adaptive_symmetry_breaking

0 stars 0 forks source link

simpler code... possibly #5

Open joefresna opened 2 years ago

joefresna commented 2 years ago

https://github.com/tilly111/adaptive_symmetry_breaking/blob/37462fabfa4e59c126882d5df72532a8c9241dac/ARGoS_simulation/behaviours/agent_stub.c#L291

I think this if is unnecessary, and leaving the else part only would work the same (because robot_commitment_quality is set to 0 when the robot becomes UNCOMMITTED). But please double check... I may be wrong...

tilly111 commented 2 years ago

changed

joefresna commented 2 years ago

When you write the message of commit, you can indicate what you changed and then add in the commit message "this closes #5" Automatically this issue will be closed. Try it. ;-)