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
Dóra Kocsis
dynare
Commits
94217de4
Commit
94217de4
authored
Aug 27, 2010
by
Houtan Bastani
Browse files
SWZ: replace exit with swzExit
parent
820aca66
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/swz/c-code/sbvar/var/forecast.c
View file @
94217de4
...
...
@@ -345,7 +345,7 @@ int main(int nargs, char **args)
" -fh : parameter header (Posterior mode: )
\n
"
" -horizon : horizon for the forecast (12)
\n
"
);
e
xit
(
1
);
swzE
xit
(
1
);
}
if
(
!
parm
)
...
...
@@ -392,7 +392,7 @@ int main(int nargs, char **args)
if
(
!
(
posterior_file
=
fopen
(
post
,
"rt"
)))
{
printf
(
"Unable to open draws file: %s
\n
"
,
post
);
e
xit
(
0
);
swzE
xit
(
0
);
}
// Get thinning factor from command line
...
...
@@ -436,13 +436,13 @@ int main(int nargs, char **args)
{
FreeVector
(
percentiles
);
printf
(
"forecasting command line: Error parsing percentiles
\n
"
);
e
xit
(
0
);
swzE
xit
(
0
);
}
}
else
{
printf
(
"forecasting command line(): Error parsing percentiles
\n
"
);
e
xit
(
0
);
swzE
xit
(
0
);
}
if
(
dw_FindArgument_String
(
nargs
,
args
,
"regimes"
)
!=
-
1
)
...
...
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