diff options
Diffstat (limited to 'src/fracture.cpp')
-rw-r--r-- | src/fracture.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fracture.cpp b/src/fracture.cpp index e260e14..6712ac3 100644 --- a/src/fracture.cpp +++ b/src/fracture.cpp @@ -30,7 +30,7 @@ int main(int argc, char* argv[]) { int opt; - unsigned int N = 1; + unsigned N = 1; double Lx = 16; double Ly = 16; double beta = 0.5; @@ -38,7 +38,7 @@ int main(int argc, char* argv[]) { while ((opt = getopt(argc, argv, "N:X:Y:b:")) != -1) { switch (opt) { case 'N': - N = (unsigned int)atof(optarg); + N = (unsigned)atof(optarg); break; case 'X': Lx = atof(optarg); @@ -62,7 +62,7 @@ int main(int argc, char* argv[]) { randutils::auto_seed_128 seeds; std::mt19937 rng{seeds}; - for (unsigned int trial = 0; trial < N; trial++) { + for (unsigned trial = 0; trial < N; trial++) { while (true) { try { graph G(Lx, Ly, rng); |