diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-01-24 19:01:18 -0500 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-01-24 19:01:18 -0500 |
commit | e3b663588a30ec4f05afe50c260982bd44a1bb2b (patch) | |
tree | 0563b21d7a25a7bb99e906abf1ad1f63afb0e335 /src/fracture_square.cpp | |
parent | c83636a1b56b331cf4ea16450dcf637e6e9fae8a (diff) | |
download | fuse_networks-e3b663588a30ec4f05afe50c260982bd44a1bb2b.tar.gz fuse_networks-e3b663588a30ec4f05afe50c260982bd44a1bb2b.tar.bz2 fuse_networks-e3b663588a30ec4f05afe50c260982bd44a1bb2b.zip |
style changes
Diffstat (limited to 'src/fracture_square.cpp')
-rw-r--r-- | src/fracture_square.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fracture_square.cpp b/src/fracture_square.cpp index 03b0113..47d7d67 100644 --- a/src/fracture_square.cpp +++ b/src/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, "N:X:Y:b:")) != -1) { switch (opt) { case 'N': - N = (unsigned int)atof(optarg); + N = (unsigned)atof(optarg); break; case 'X': Lx = atoi(optarg); @@ -64,7 +64,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 { network tmp_network(perm_network); |