diff options
Diffstat (limited to 'src/animate_fracture_square.cpp')
-rw-r--r-- | src/animate_fracture_square.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/animate_fracture_square.cpp b/src/animate_fracture_square.cpp index 512486f..d2efde9 100644 --- a/src/animate_fracture_square.cpp +++ b/src/animate_fracture_square.cpp @@ -30,7 +30,7 @@ int main(int argc, char* argv[]) { int opt; - unsigned int N = 1; + unsigned N = 1; unsigned Lx = 16; unsigned Ly = 16; double beta = 0.5; @@ -38,7 +38,7 @@ int main(int argc, char* argv[]) { while ((opt = getopt(argc, argv, "X:Y:N:b:")) != -1) { switch (opt) { case 'N': - N = (unsigned int)atof(optarg); + N = (unsigned)atof(optarg); break; case 'X': Lx = atoi(optarg); @@ -65,7 +65,7 @@ int main(int argc, char* argv[]) { graph G(Lx, Ly); network perm_network(G, &c); - for (unsigned int trial = 0; trial < N; trial++) { + for (unsigned trial = 0; trial < N; trial++) { network tmp_network(perm_network); tmp_network.set_thresholds(beta, rng); tmp_network.fracture(meas); |