summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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();