Skip to content

Commit

Permalink
merge_group_with_full_configuration typo
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-pacher committed Oct 22, 2019
1 parent 8621714 commit d230207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compas_fab/robots/robot.py
Expand Up @@ -490,7 +490,7 @@ def merge_group_with_full_configuration(self, group_configuration, full_configur
all_joint_names = self.get_configurable_joint_names()
if len(all_joint_names) != len(full_configuration.values):
raise ValueError("Please pass a full configuration with %d values" % len(all_joint_names))
elif len(all_joint_names) != len(group_configuration.values): # group config == full config
elif len(all_joint_names) == len(group_configuration.values): # group config == full config
return group_configuration
else:
group_joint_names = self.get_configurable_joint_names(group)
Expand Down

0 comments on commit d230207

Please sign in to comment.