AllowRotation and size_t

This commit is contained in:
Aik-Siong Koh
2024-01-14 21:40:33 -07:00
committed by PaddleStroke
parent fe99ad2593
commit 85557e1fa4
285 changed files with 1854 additions and 1116 deletions

View File

@@ -48,7 +48,7 @@ void MbD::MBDynBody::readInertiaMatrix(std::vector<std::string>& args)
auto str = args.at(0); //Must copy string
if (str.find("diag") != std::string::npos) {
args.erase(args.begin());
for (int i = 0; i < 3; i++)
for (size_t i = 0; i < 3; i++)
{
auto userFunc = std::make_shared<BasicUserFunction>(popOffTop(args), 1.0);
parser->parseUserFunction(userFunc);