summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-09-04 15:29:27 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-09-04 15:29:27 -0400
commita8294276104a33604fc17f796e6b0c66221f2993 (patch)
treeb7e2b7aecfa0394bd658bfd7c9d7dfc6a1279ea1 /src
parent84295bbd28e0082943d9775b36a6097830360fe1 (diff)
downloadcode-a8294276104a33604fc17f796e6b0c66221f2993.tar.gz
code-a8294276104a33604fc17f796e6b0c66221f2993.tar.bz2
code-a8294276104a33604fc17f796e6b0c66221f2993.zip
wait longer before evaluating whether we're done
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 1886aa0..4af1422 100644
--- a/src/new_model.cpp
+++ b/src/new_model.cpp
@@ -473,7 +473,7 @@ int main (int argc, char *argv[]) {
if (nn > w) {
stiffness.add(cos_xy, sin_xy * sin_xy);
- if (nn % N == 0) {
+ if (nn % N == 0 && nn > 2 * w) {
double err = mi.A2.serr();
double val2 = stiffness.avg();
double err2 = stiffness.serr();