mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) method written by Jorge Nocedal. The original FORTRAN source code is available at: http://www.ece.northwestern.edu/~nocedal/lbfgs.html WWW: http://www.chokkan.org/software/liblbfgs/ PR: ports/147670 Submitted by: Hung-Yi Chen <gaod@hychen.org> Feature safe: yes
19 lines
492 B
C
19 lines
492 B
C
--- lib/arithmetic_sse_double.h.orig 2010-06-08 08:17:38.000000000 +0800
|
|
+++ lib/arithmetic_sse_double.h 2010-06-08 08:19:41.000000000 +0800
|
|
@@ -26,7 +26,6 @@
|
|
/* $Id: arithmetic_sse_double.h 65 2010-01-29 12:19:16Z naoaki $ */
|
|
|
|
#include <stdlib.h>
|
|
-#include <malloc.h>
|
|
#include <memory.h>
|
|
|
|
#if 1400 <= _MSC_VER
|
|
@@ -37,6 +36,8 @@
|
|
#include <emmintrin.h>
|
|
#endif/*HAVE_EMMINTRIN_H*/
|
|
|
|
+#define memalign(A,B) malloc(B)
|
|
+
|
|
inline static void* vecalloc(size_t size)
|
|
{
|
|
#ifdef _MSC_VER
|