ext/lbfgsb/src/blas.h in lbfgsb-0.4.1 vs ext/lbfgsb/src/blas.h in lbfgsb-0.5.0
- old
+ new
@@ -1,11 +1,11 @@
#ifndef LBFGSB_RB_BLAS_H_
#define LBFGSB_RB_BLAS_H_
-#include <math.h>
+#include "common.h"
-extern int lbfgsb_rb_daxpy_(long* n, double* da, double* dx, long* incx, double* dy, long* incy);
-extern int lbfgsb_rb_dcopy_(long* n, double* dx, long* incx, double* dy, long* incy);
-extern double lbfgsb_rb_ddot_(long* n, double* dx, long* incx, double* dy, long* incy);
-extern int lbfgsb_rb_dscal_(long* n, double* da, double* dx, long* incx);
+extern void daxpy_(F77_int* n, double* da, double* dx, F77_int* incx, double* dy, F77_int* incy);
+extern void dcopy_(F77_int* n, double* dx, F77_int* incx, double* dy, F77_int* incy);
+extern double ddot_(F77_int* n, double* dx, F77_int* incx, double* dy, F77_int* incy);
+extern void dscal_(F77_int* n, double* da, double* dx, F77_int* incx);
#endif /* LBFGSB_RB_BLAS_H_ */