view src/of-optim-1-fixes.patch @ 3589:780be3cf5995

gcc-*: pcre=8.35, cloog=0.18.1, gmp=6.0.0, isl=0.12.2 * src/cloog.mk: update version 0.18.1. * src/gmp.mk: update version 6.0.0. * src/isl.mk: update version 0.12.2. * src/isl-1-fixes.patch: update patch for -no-undefined
author John Donoghue
date Fri, 25 Apr 2014 14:44:56 -0400
parents 04791633efbc
children
line wrap: on
line source

diff -rNu a/src/__bfgsmin.cc b/src/__bfgsmin.cc
--- a/src/__bfgsmin.cc	2012-03-30 11:14:48.000000000 -0400
+++ b/src/__bfgsmin.cc	2013-01-14 12:07:15.639384929 -0500
@@ -25,6 +25,7 @@
 #include <octave/Cell.h>
 #include <octave/lo-mappers.h>
 #include <float.h>
+#include <limits.h>
 #include "error.h"
 
 int __bfgsmin_obj(double &obj, const std::string f, const octave_value_list f_args, const ColumnVector theta, const int minarg)