summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-09-04 15:40:58 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-09-04 15:40:58 -0400
commit19fcaf68f401ab4bae47cd8c4c84eb2560ce3b8b (patch)
tree9b599f1db92ecf0ab7b52410c6dbbddccc4cda5c /src
parent1ae73c04dca1b7dd445ebba59f0423ab71563d55 (diff)
downloadcode-19fcaf68f401ab4bae47cd8c4c84eb2560ce3b8b.tar.gz
code-19fcaf68f401ab4bae47cd8c4c84eb2560ce3b8b.tar.bz2
code-19fcaf68f401ab4bae47cd8c4c84eb2560ce3b8b.zip
actually return the number of steps
Diffstat (limited to 'src')
-rw-r--r--src/new_model.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_model.cpp b/src/new_model.cpp
index a1dce92..9d51ff5 100644
--- a/src/new_model.cpp
+++ b/src/new_model.cpp
@@ -496,7 +496,7 @@ int main (int argc, char *argv[]) {
if (!already_exists) {
outfile << "N L T J K1 K2 \\[Alpha] M \\[Delta]M \\[Rho] \\[Delta]\\[Rho]\n";
}
- outfile << N << " " << L << " " << T << " " << J << " " << K1 << " " << K2 << " " << α << " " << mi.A2.avg() / pow(si.nv, 2) << " " << mi.A2.serr() / pow(si.nv, 2) << " " << stiffness.avg() / sxy.ne << " " << stiffness.serr() / sxy.ne << "\n";
+ outfile << nn << " " << L << " " << T << " " << J << " " << K1 << " " << K2 << " " << α << " " << mi.A2.avg() / pow(si.nv, 2) << " " << mi.A2.serr() / pow(si.nv, 2) << " " << stiffness.avg() / sxy.ne << " " << stiffness.serr() / sxy.ne << "\n";
outfile.close();
}