aboutsummaryrefslogtreecommitdiffstats
path: root/methods/lbfgs
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-09-19 16:18:25 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-09-19 16:18:25 +0000
commitaa3e3a1d67927d338dc62125c342f06d27c8d91e (patch)
tree6422607ab2f0178a99193757954e06b5d18a4da5 /methods/lbfgs
parentc46b9282648442bcfb966bccc1f0736ea7959b78 (diff)
downloadopt-utilities-aa3e3a1d67927d338dc62125c342f06d27c8d91e.tar.bz2
included <cstring> in methods/lbfgs/arthmetic_ansi.h
to enable "memset" git-svn-id: file:///home/svn/opt_utilities@136 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'methods/lbfgs')
-rw-r--r--methods/lbfgs/arithmetic_ansi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/lbfgs/arithmetic_ansi.h b/methods/lbfgs/arithmetic_ansi.h
index c071245..c1fd1b4 100644
--- a/methods/lbfgs/arithmetic_ansi.h
+++ b/methods/lbfgs/arithmetic_ansi.h
@@ -1,5 +1,6 @@
#include <cstdlib>
#include <memory>
+#include <cstring>
#if LBFGS_FLOAT == 32 && LBFGS_IEEE_FLOAT
#define fsigndiff(x, y) (((*(uint32_t*)(x)) ^ (*(uint32_t*)(y))) & 0x80000000U)