Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Minje Jeon
dynare
Commits
e8cc23d3
Verified
Commit
e8cc23d3
authored
Jul 23, 2021
by
Stéphane Adjemian
Browse files
Bug fixes (typos).
parent
a905539f
Changes
5
Hide whitespace changes
Inline
Side-by-side
tests/solver-test-functions/helicalvalley.m
View file @
e8cc23d3
...
...
@@ -49,7 +49,7 @@ if nargin==1
fjac
(
3
,
2
)
=
0
;
fjac
(
3
,
3
)
=
1
;
end
elseif
nargin
elseif
~
nargin
if
nargout
==
1
fval
=
[
-
1
;
0
;
0
];
else
...
...
tests/solver-test-functions/powell1.m
View file @
e8cc23d3
...
...
@@ -36,7 +36,7 @@ if nargin==1
fjac
(
4
,
1
)
=
2
*
sqrt
(
10
)
*
(
x
(
1
)
-
x
(
4
));
fjac
(
4
,
4
)
=
-
fjac
(
4
,
1
);
end
elseif
nargin
elseif
~
nargin
if
nargout
==
1
fval
=
[
3
;
-
1
;
0
;
1
];
else
...
...
tests/solver-test-functions/powell2.m
View file @
e8cc23d3
...
...
@@ -28,7 +28,7 @@ if nargin==1
fjac
(
2
,
1
)
=
-
exp
(
x
(
1
));
fjac
(
2
,
2
)
=
-
exp
(
x
(
2
));
end
elseif
nargin
elseif
~
nargin
if
nargout
==
1
fval
=
[
0
;
1
];
else
...
...
tests/solver-test-functions/rosenbrock.m
View file @
e8cc23d3
...
...
@@ -28,7 +28,7 @@ if nargin==1
fjac
(
2
,
1
)
=
-
20
*
x
(
1
);
fjac
(
2
,
2
)
=
10
;
end
elseif
nargin
elseif
~
nargin
if
nargout
==
1
fval
=
[
10000
;
1
];
else
...
...
tests/solver-test-functions/wood.m
View file @
e8cc23d3
...
...
@@ -45,7 +45,7 @@ if nargin==1
fjac
(
4
,
3
)
=
-
2
*
C6
*
x
(
3
);
fjac
(
4
,
4
)
=
C6
+
C4
;
end
elseif
nargin
elseif
~
nargin
if
nargout
==
1
fval
=
[
-
3
;
-
1
;
-
3
;
-
1
];
else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment