Skip to content

Commit d230207

Browse files
merge_group_with_full_configuration typo
1 parent 8621714 commit d230207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas_fab/robots/robot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def merge_group_with_full_configuration(self, group_configuration, full_configur
490490
all_joint_names = self.get_configurable_joint_names()
491491
if len(all_joint_names) != len(full_configuration.values):
492492
raise ValueError("Please pass a full configuration with %d values" % len(all_joint_names))
493-
elif len(all_joint_names) != len(group_configuration.values): # group config == full config
493+
elif len(all_joint_names) == len(group_configuration.values): # group config == full config
494494
return group_configuration
495495
else:
496496
group_joint_names = self.get_configurable_joint_names(group)

0 commit comments

Comments
 (0)