fix "gridy" comandline argument for initMC

This commit is contained in:
steffen-v 2024-07-26 14:42:05 +02:00 committed by GitHub
parent 9c688d7ff7
commit 22424227e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -416,8 +416,8 @@ void initMC(int argc, char **argv) {
gridSizeLog2.x = n;
}
if (checkCmdLineFlag(argc, (const char **)argv, "gridx")) {
n = getCmdLineArgumentInt(argc, (const char **)argv, "gridx");
if (checkCmdLineFlag(argc, (const char **)argv, "gridy")) {
n = getCmdLineArgumentInt(argc, (const char **)argv, "gridy");
gridSizeLog2.y = n;
}