Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
33053a73
Commit
33053a73
authored
Jun 20, 2013
by
Stéphane Adjemian
Browse files
Fixed bug.
parent
340bcc27
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/utilities/dataset/initialize_dataset.m
View file @
33053a73
...
@@ -57,7 +57,7 @@ if dataset_.info.nvobs-size(rawdata,2)
...
@@ -57,7 +57,7 @@ if dataset_.info.nvobs-size(rawdata,2)
end
end
if
size
(
rawdata
,
1
)
~=
dataset_
.
info
.
ntobs
if
size
(
rawdata
,
1
)
~=
dataset_
.
info
.
ntobs
fprintf
(
'Restricting the sample to observations %d to %d. Using in total %d observations. \n'
,
first
,
dataset_
.
info
.
ntobs
,
dataset_
.
info
.
ntobs
-
first
+
1
)
fprintf
(
'Restricting the sample to observations %d to %d. Using in total %d observations. \n'
,
first
,
first
+
dataset_
.
info
.
ntobs
-
1
,
dataset_
.
info
.
ntobs
)
end
end
rawdata
=
rawdata
(
first
:(
first
+
dataset_
.
info
.
ntobs
-
1
),:);
rawdata
=
rawdata
(
first
:(
first
+
dataset_
.
info
.
ntobs
-
1
),:);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment