Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
4dfec0d7
Commit
4dfec0d7
authored
8 years ago
by
Stéphane Adjemian
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1369 from JohannesPfeifer/disp_dr_aux_var
disp_dr: Add case for aux_vars.type==0
parents
420fb389
65c40246
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/disp_dr.m
+3
-0
3 additions, 0 deletions
matlab/disp_dr.m
with
3 additions
and
0 deletions
matlab/disp_dr.m
+
3
−
0
View file @
4dfec0d7
...
@@ -231,6 +231,9 @@ end
...
@@ -231,6 +231,9 @@ end
for
i
=
1
:
length
(
M_
.
aux_vars
)
for
i
=
1
:
length
(
M_
.
aux_vars
)
if
M_
.
aux_vars
(
i
)
.
endo_index
==
aux_index
if
M_
.
aux_vars
(
i
)
.
endo_index
==
aux_index
switch
M_
.
aux_vars
(
i
)
.
type
switch
M_
.
aux_vars
(
i
)
.
type
case
0
str
=
sprintf
(
'%s(%d)'
,
deblank
(
M_
.
endo_names
(
aux_index
,:)),
aux_lead_lag
);
return
case
1
case
1
orig_name
=
deblank
(
M_
.
endo_names
(
M_
.
aux_vars
(
i
)
.
orig_index
,
:));
orig_name
=
deblank
(
M_
.
endo_names
(
M_
.
aux_vars
(
i
)
.
orig_index
,
:));
case
3
case
3
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment