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
Johannes Pfeifer
dynare
Commits
ebdfcc80
Commit
ebdfcc80
authored
Jul 21, 2021
by
Marco Ratto
Browse files
fixed bug introduced in
229282a1
parent
c48f7376
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/+occbin/solve_two_constraints.m
View file @
ebdfcc80
...
...
@@ -70,11 +70,11 @@ if solve_DM %recompute solution matrices
[
DM
.
Cbarmat
,
DM
.
Bbarmat
,
DM
.
Abarmat
,
DM
.
Jbarmat
]
=
occbin
.
get_deriv
(
M00_
,
data
.
ys
);
M10_
=
M00_
;
M10_
.
params
(
strmatch
(
M_
.
params
(
M_
.
occbin
.
pswitch
(
1
)),
M00_
.
param_names
,
'exact'
))
=
1
;
M10_
.
params
(
M_
.
occbin
.
pswitch
(
1
))
=
1
;
[
DM
.
Cbarmat10
,
DM
.
Bbarmat10
,
DM
.
Abarmat10
,
DM
.
Jbarmat10
,
DM
.
Dbarmat10
]
=
occbin
.
get_deriv
(
M10_
,
data
.
ys
);
M01_
=
M00_
;
M01_
.
params
(
strmatch
(
M_
.
params
(
M_
.
occbin
.
pswitch
(
2
)),
M00_
.
param_names
,
'exact'
))
=
1
;
M01_
.
params
(
M_
.
occbin
.
pswitch
(
2
))
=
1
;
[
DM
.
Cbarmat01
,
DM
.
Bbarmat01
,
DM
.
Abarmat01
,
DM
.
Jbarmat01
,
DM
.
Dbarmat01
]
=
occbin
.
get_deriv
(
M01_
,
data
.
ys
);
M11_
=
M00_
;
...
...
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