Merge pull request #287 from steffen-v/patch-1

fix "gridy" comandline argument for initMC
This commit is contained in:
Rob Armstrong 2025-02-18 13:30:27 -08:00 committed by GitHub
commit 25400b6b3c
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;
}