编译成功
This commit is contained in:
3
src/lib/config.h
Normal file
3
src/lib/config.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#define HAVE_CONFIG_H
|
||||
/* #undef _MSC_VER */
|
||||
/* #undef USE_SSE */
|
@@ -70,7 +70,7 @@ licence.
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <lbfgs.h>
|
||||
#include "lbfgs.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define inline __inline
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <lbfgs.h>
|
||||
#include "../lib/lbfgs.h"
|
||||
|
||||
static lbfgsfloatval_t evaluate(
|
||||
void *instance,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <lbfgs.h>
|
||||
#include "../lib/lbfgs.h"
|
||||
|
||||
class objective_function
|
||||
{
|
||||
@@ -119,7 +119,7 @@ protected:
|
||||
|
||||
#define N 100
|
||||
|
||||
int main(int argc, char *argv)
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
objective_function obj;
|
||||
return obj.run(N);
|
||||
|
Reference in New Issue
Block a user