diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-08-28 18:33:24 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-08-28 18:33:24 +0200 |
commit | 20ba2eee6d4bc75fe2fbcd2af7218e47abcb76df (patch) | |
tree | 6e1e0876972462856f2b7a18bd0087bfc92acc79 /unsupported/test/NonLinearOptimization.cpp | |
parent | 73ca600bca42f5ccf507ca4be1f53921973b44fe (diff) |
gcc thinks this may not be initialized
Diffstat (limited to 'unsupported/test/NonLinearOptimization.cpp')
-rw-r--r-- | unsupported/test/NonLinearOptimization.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/NonLinearOptimization.cpp b/unsupported/test/NonLinearOptimization.cpp index cc95cea29..2770c3c49 100644 --- a/unsupported/test/NonLinearOptimization.cpp +++ b/unsupported/test/NonLinearOptimization.cpp @@ -565,7 +565,7 @@ void testLmdif1() // do the computation lmdif_functor functor; - DenseIndex nfev; + DenseIndex nfev = -1; // initialize to avoid maybe-uninitialized warning info = LevenbergMarquardt<lmdif_functor>::lmdif1(functor, x, &nfev); // check return value |