eigenization of fcn_chkder + bugfix

This commit is contained in:
Thomas Capricelli
2009-08-29 02:46:19 +02:00
parent c1265ebbfe
commit c990938415
2 changed files with 10 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ void ei_chkder(
const int m = fvec.size(), n = x.size();
if (mode != 2) {
xp.resize(m);
xp.resize(n);
/* mode = 1. */
for (j = 0; j < n; ++j) {
temp = eps * ei_abs(x[j]);