- Make sure that the initial gradients are non-zero.

- Added a necessary cast.

git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@12 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
This commit is contained in:
naoaki
2008-07-08 04:37:50 +00:00
parent 85faeef0f4
commit 36c6eaa158
2 changed files with 12 additions and 1 deletions

View File

@@ -74,6 +74,8 @@ enum {
LBFGSFALSE = 0,
/** True value. */
LBFGSTRUE,
/** */
LBFGS_ALREADY_MINIMIZED,
/** Unknown error. */
LBFGSERR_UNKNOWNERROR = -1024,