Mercurial > forge
changeset 6891:3f4f89ead171 octave-forge
recover the MINGW compatibility change that I dropped on last commit
author | mcreel |
---|---|
date | Fri, 19 Mar 2010 09:39:47 +0000 |
parents | 331a127aedc2 |
children | 2121942fe8a4 |
files | main/optim/src/__bfgsmin.cc |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/main/optim/src/__bfgsmin.cc Thu Mar 18 23:32:48 2010 +0000 +++ b/main/optim/src/__bfgsmin.cc Fri Mar 19 09:39:47 2010 +0000 @@ -28,7 +28,10 @@ #include <octave/Cell.h> #include <float.h> #include "error.h" - +#ifdef __MINGW32__ +#define isnan _isnan +#endif + int __bfgsmin_obj(double &obj, const std::string f, const octave_value_list f_args, const ColumnVector theta, const int minarg) {