From e3b663588a30ec4f05afe50c260982bd44a1bb2b Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 24 Jan 2019 19:01:18 -0500 Subject: style changes --- src/animate_fracture.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/animate_fracture.cpp') diff --git a/src/animate_fracture.cpp b/src/animate_fracture.cpp index 9ae79cc..2d64072 100644 --- a/src/animate_fracture.cpp +++ b/src/animate_fracture.cpp @@ -30,7 +30,7 @@ int main(int argc, char* argv[]) { int opt; - unsigned int N = 1; + unsigned N = 1; double Lx = 16.0; double Ly = 16.0; 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 = 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++) { graph G(Lx, Ly, rng); network network(G, &c); network.set_thresholds(beta, rng); -- cgit v1.2.3-70-g09d2