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
Container registry
Model registry
Operate
Environments
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
Dynare
dynare
Commits
edeb7911
Verified
Commit
edeb7911
authored
3 years ago
by
Stéphane Adjemian
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug (initial period in extended path).
extended_path was crashing in preceeded by a call to the set_time command.
parent
be388664
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#5499
passed
3 years ago
Stage: build
Stage: test
Stage: pkg
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/ep/extended_path.m
+8
-2
8 additions, 2 deletions
matlab/ep/extended_path.m
with
8 additions
and
2 deletions
matlab/ep/extended_path.m
+
8
−
2
View file @
edeb7911
...
...
@@ -86,10 +86,16 @@ end % (while) loop over t
dyn_waitbar_close
(
hh
);
% Set the initial period.
if
isnan
(
DynareOptions
.
initial_period
)
if
isdates
(
DynareOptions
.
initial_period
)
if
ischar
(
DynareOptions
.
initial_period
)
initial_period
=
dates
(
DynareOptions
.
initial_period
);
else
initial_period
=
DynareOptions
.
initial_period
;
end
elseif
isnan
(
DynareOptions
.
initial_period
)
initial_period
=
dates
(
1
,
1
);
else
initial_period
=
DynareO
ption
s
.
initial_period
;
error
(
'Type of o
ption
initial_period
is wrong.'
)
end
% Return the simulated time series.
...
...
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