Skip to content

Commit

Permalink
Fix int/size_t mixup that causes compilation errors on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanhab committed Dec 19, 2023
1 parent 02f5ec9 commit 068bbe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenSim/Simulation/Model/Model.h
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ OpenSim_OBJECT_NONTEMPLATE_DEFS(Model, ModelComponent);
SimTK::Array_<std::string> getCoordinateNamesInMultibodyTreeOrder() {
SimTK::Array_<std::string> namesArray;
auto coords = getCoordinatesInMultibodyTreeOrder();
for (auto i=0; i < coords.size(); ++i)
for (int i=0; i < (int)coords.size(); ++i)
namesArray.push_back(coords[i]->getName());
return namesArray;
}
Expand Down

0 comments on commit 068bbe8

Please sign in to comment.