Skip to content

Commit a5ac8ba

Browse files
committed
Merge branch 'master' of github.com:gramaziokohler/compas_fab
2 parents a7842d3 + f67a1c2 commit a5ac8ba

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)