Fixed many MSVC warnings.

This commit is contained in:
Hauke Heibel
2010-06-09 09:30:22 +02:00
parent 50e43bc75a
commit 45d3b405eb
7 changed files with 28 additions and 10 deletions

View File

@@ -8,6 +8,10 @@
#include "main.h"
#include <unsupported/Eigen/NonLinearOptimization>
// This disables some useless Warnings on MSVC.
// It is intended to be done for this test only.
#include <Eigen/src/Core/util/DisableMSVCWarnings.h>
int fcn_chkder(const VectorXd &x, VectorXd &fvec, MatrixXd &fjac, int iflag)
{
/* subroutine fcn for chkder example. */