Bug#693571: liblbfgs-dev: lbfgs.h lies about default value of max_linesearch

Dima Kogan dima at secretsauce.net
Sat Nov 17 23:37:10 UTC 2012


Package: liblbfgs-dev
Version: 1.10-3
Severity: normal

Comment says it's 20, but code sets it to 40. Probably should update the
comment. Following patch does it.


diff --git a/include/lbfgs.h b/include/lbfgs.h
index cd944a3..5a1f9be 100644
--- a/include/lbfgs.h
+++ b/include/lbfgs.h
@@ -257,7 +257,7 @@ typedef struct {
     /**
      * The maximum number of trials for the line search.
      *  This parameter controls the number of function and gradients evaluations
-     *  per iteration for the line search routine. The default value is \c 20.
+     *  per iteration for the line search routine. The default value is \c 40.
      */
     int             max_linesearch;



More information about the debian-science-maintainers mailing list