Fix testspeed argument count check

PiperOrigin-RevId: 844128965
Change-Id: I3089c7e71efde1ee6fe7c24903d634ed44dfd6eb
This commit is contained in:
Matija Kecman
2025-12-13 11:19:03 -08:00
committed by Copybara-Service
parent e3a860de69
commit e7077b5a05
+2 -2
View File
@@ -138,10 +138,10 @@ void simulate(int id, int nstep, mjtNum* ctrl) {
int main(int argc, char** argv) {
// print help if arguments are missing
if (argc < 2 || argc > 6) {
if (argc < 2 || argc > 7) {
return finish(
"\n"
"Usage: testspeed modelfile [nstep nthread ctrlnoise npoolthread]\n"
"Usage: testspeed modelfile [nstep nthread ctrlnoisestd ctrlnoiserate npoolthread]\n"
"\n"
" argument default semantic\n"
" -------- ------- --------\n"