aboutsummaryrefslogtreecommitdiff
path: root/src/libMSVMMaj.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libMSVMMaj.c')
-rw-r--r--src/libMSVMMaj.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libMSVMMaj.c b/src/libMSVMMaj.c
index 1976262..04c5035 100644
--- a/src/libMSVMMaj.c
+++ b/src/libMSVMMaj.c
@@ -226,7 +226,7 @@ void main_loop(struct Model *model, struct Data *data)
Lbar = L;
L = get_msvmmaj_loss(model, data, ZV);
- if (it%1 == 0)
+ if (it%500 == 0)
info("iter = %li, L = %15.16f, Lbar = %15.16f, reldiff = %15.16f\n",
it, L, Lbar, (Lbar - L)/L);
it++;
@@ -253,7 +253,6 @@ void main_loop(struct Model *model, struct Data *data)
free(ZAZ);
free(ZAZV);
free(ZAZVT);
-
}
void step_doubling(struct Model *model)