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
0908b0a5
Commit
0908b0a5
authored
Apr 07, 2014
by
Sébastien Villemot
Browse files
Fix compilation error introduced in 0983ca78.
parent
cd063ce3
Changes
2
Hide whitespace changes
Inline
Side-by-side
DynamicModel.cc
View file @
0908b0a5
...
...
@@ -3035,13 +3035,13 @@ DynamicModel::writeCOutput(ostream &output, const string &basename, bool block_d
switch
(
order
)
{
case
0
:
output
<<
NNZDerivativs
[
0
]
<<
",-1,-1};"
<<
endl
;
output
<<
NNZDerivativ
e
s
[
0
]
<<
",-1,-1};"
<<
endl
;
break
;
case
1
:
output
<<
NNZDerivativs
[
0
]
<<
","
<<
NNZDerivatives
[
1
]
<<
",-1};"
<<
endl
;
output
<<
NNZDerivativ
e
s
[
0
]
<<
","
<<
NNZDerivatives
[
1
]
<<
",-1};"
<<
endl
;
break
;
case
2
:
output
<<
NNZDerivativs
[
0
]
<<
","
<<
NNZDerivatives
[
1
]
<<
","
<<
NNZDerivatives
[
2
]
<<
"};"
<<
endl
;
output
<<
NNZDerivativ
e
s
[
0
]
<<
","
<<
NNZDerivatives
[
1
]
<<
","
<<
NNZDerivatives
[
2
]
<<
"};"
<<
endl
;
break
;
default:
cerr
<<
"Order larger than 3 not implemented"
<<
endl
;
...
...
ModFile.hh
View file @
0908b0a5
...
...
@@ -141,6 +141,7 @@ public:
//! Writes C output files only => No further Matlab processing
void
writeCOutputFiles
(
const
string
&
basename
)
const
;
void
writeModelC
(
const
string
&
basename
,
bool
cuda
)
const
;
void
writeModelCC
(
const
string
&
basename
,
bool
cuda
)
const
;
void
writeExternalFiles
(
const
string
&
basename
,
FileOutputType
output
,
bool
cuda
)
const
;
};
...
...
Write
Preview
Markdown
is supported
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