mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-03 10:40:39 +08:00
fix indentation for fcn_chkder
This commit is contained in:
parent
16d08b2b0f
commit
4f7daf942c
@ -19,25 +19,18 @@ int fcn_chkder(int /*m*/, int /*n*/, const double *x, double *fvec, double *fjac
|
||||
|
||||
|
||||
if (iflag == 0)
|
||||
{
|
||||
/* insert print statements here when nprint is positive. */
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (iflag != 2)
|
||||
|
||||
for (i=1; i<=15; i++)
|
||||
{
|
||||
for (i=1; i<=15; i++) {
|
||||
tmp1 = i;
|
||||
tmp2 = 16 - i;
|
||||
tmp3 = tmp1;
|
||||
if (i > 8) tmp3 = tmp2;
|
||||
fvec[i-1] = y[i-1] - (x[1-1] + tmp1/(x[2-1]*tmp2 + x[3-1]*tmp3));
|
||||
}
|
||||
else
|
||||
{
|
||||
for (i = 1; i <= 15; i++)
|
||||
{
|
||||
else {
|
||||
for (i = 1; i <= 15; i++) {
|
||||
tmp1 = i;
|
||||
tmp2 = 16 - i;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user