- A patch from Kevin S. Van Horn to fix a bug in error checking.
- Updated the copyright year with 2010. git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@62 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
This commit is contained in:
parent
3c3ca1bb5b
commit
2b9f6b92c4
2
COPYING
2
COPYING
@ -1,7 +1,7 @@
|
|||||||
The MIT License
|
The MIT License
|
||||||
|
|
||||||
Copyright (c) 1990 Jorge Nocedal
|
Copyright (c) 1990 Jorge Nocedal
|
||||||
Copyright (c) 2007-2009 Naoaki Okazaki
|
Copyright (c) 2007-2010 Naoaki Okazaki
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
copy of this software and associated documentation files (the "Software"),
|
copy of this software and associated documentation files (the "Software"),
|
||||||
|
2
README
2
README
@ -2,7 +2,7 @@
|
|||||||
libLBFGS: C library of limited-memory BFGS (L-BFGS)
|
libLBFGS: C library of limited-memory BFGS (L-BFGS)
|
||||||
|
|
||||||
Copyright (c) 1990, Jorge Nocedal
|
Copyright (c) 1990, Jorge Nocedal
|
||||||
Copyright (c) 2007-2009, Naoaki Okazaki
|
Copyright (c) 2007-2010, Naoaki Okazaki
|
||||||
|
|
||||||
=========================================================================
|
=========================================================================
|
||||||
1. Introduction
|
1. Introduction
|
||||||
|
@ -312,7 +312,7 @@ int lbfgs(
|
|||||||
if (param.ftol < 0.) {
|
if (param.ftol < 0.) {
|
||||||
return LBFGSERR_INVALID_FTOL;
|
return LBFGSERR_INVALID_FTOL;
|
||||||
}
|
}
|
||||||
if (param.linesearch == LBFGS_LINESEARCH_BACKTRACKING_WOLFE &&
|
if (param.linesearch == LBFGS_LINESEARCH_BACKTRACKING_WOLFE ||
|
||||||
param.linesearch == LBFGS_LINESEARCH_BACKTRACKING_STRONG_WOLFE) {
|
param.linesearch == LBFGS_LINESEARCH_BACKTRACKING_STRONG_WOLFE) {
|
||||||
if (param.wolfe <= param.ftol || 1. <= param.wolfe) {
|
if (param.wolfe <= param.ftol || 1. <= param.wolfe) {
|
||||||
return LBFGSERR_INVALID_WOLFE;
|
return LBFGSERR_INVALID_WOLFE;
|
||||||
|
Loading…
Reference in New Issue
Block a user