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
Dynare
preprocessor
Commits
5e1d20c8
Commit
5e1d20c8
authored
Feb 09, 2017
by
Houtan Bastani
Browse files
preprocessor: replace exit(1) with exit(EXIT_FAILURE)
parent
3c79e231
Changes
2
Hide whitespace changes
Inline
Side-by-side
ComputingTasks.cc
View file @
5e1d20c8
/*
* Copyright (C) 2003-201
6
Dynare Team
* Copyright (C) 2003-201
7
Dynare Team
*
* This file is part of Dynare.
*
...
...
@@ -336,7 +336,7 @@ RamseyConstraintsStatement::writeOutput(ostream &output, const string &basename,
break
;
default:
cerr
<<
"Ramsey constraints: this shouldn't happen."
<<
endl
;
exit
(
1
);
exit
(
EXIT_FAILURE
);
}
output
<<
"', '"
;
it
->
expression
->
writeOutput
(
output
);
...
...
DynamicModel.cc
View file @
5e1d20c8
...
...
@@ -5012,7 +5012,7 @@ DynamicModel::writeFirstDerivativesC_csr(const string &basename, bool cuda) cons
break
;
default:
std
::
cerr
<<
"This case shouldn't happen"
<<
std
::
endl
;
exit
(
1
);
exit
(
EXIT_FAILURE
);
}
derivative
deriv
(
col_id
+
eq
*
cols_nbr
,
col_id
,
eq
,
it
->
second
);
D
.
push_back
(
deriv
);
...
...
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