7f7064e3b9
Mat_<double> coord_sum(1,ndim,0.0),buf(1,ndim,0.0),y(1,ndim,0.0); nfunk = 0; for(i=0;i<ndim+1;++i) { y(i) = f->calc(p[i]); } y has only ndim elements, while the loop goes over ndim+1 |
||
---|---|---|
.. | ||
conjugate_gradient.cpp | ||
debug.hpp | ||
denoise_tvl1.cpp | ||
lpsolver.cpp | ||
precomp.hpp | ||
simplex.cpp |