Skip to content

Commit 2dfe92a

Browse files
authored
Merge pull request #2173 from opensim-org/tkuchida-fixJointFramesHaveSameBaseFrameExceptionMessage
Minor correction to exception message
2 parents 672356f + d335fd0 commit 2dfe92a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

OpenSim/Simulation/Model/Model.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ class JointFramesHaveSameBaseFrame : public Exception {
117117
Exception(file, line, func) {
118118
std::string msg = "Joint '" + thisName +
119119
"' cannot connect parent frame '" +
120-
parentName + "' to child frame '" + childName + "'.\n"
121-
"'Parent and child frames have the same base frame.'"
122-
+ baseName + "'.";
120+
parentName + "' to child frame '" + childName + "'.\n" +
121+
"Parent and child frames have the same base frame '" +
122+
baseName + "'.";
123123
addMessage(msg);
124124
}
125125
};

0 commit comments

Comments
 (0)