Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
preprocessor
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
preprocessor
Commits
e9364c10
Commit
e9364c10
authored
2 years ago
by
MichelJuillard
Browse files
Options
Downloads
Patches
Plain Diff
add it_ input parameter back + distinguish params_derivs functions
parent
04a23837
Branches
Branches containing commit
No related tags found
1 merge request
!70
remove module in Julia files
Pipeline
#7758
passed
2 years ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/DynamicModel.hh
+1
-1
1 addition, 1 deletion
src/DynamicModel.hh
src/StaticModel.hh
+1
-1
1 addition, 1 deletion
src/StaticModel.hh
with
2 additions
and
2 deletions
src/DynamicModel.hh
+
1
−
1
View file @
e9364c10
...
...
@@ -962,7 +962,7 @@ DynamicModel::writeParamsDerivativesFile(const string &basename) const
paramsDerivsFile << "
#
NB
:
this
file
was
automatically
generated
by
Dynare
" << endl
<< "
#
from
" << basename << "
.
mod
" << endl
<< "
#
" << endl
<< "
function
params_derivs
(
y
,
x
,
paramssteady_state
,
"
<< "
function
dynamic_
params_derivs
(
y
,
x
,
paramssteady_state
,
it_
,
"
<< "
ss_param_deriv
,
ss_param_2nd_deriv
)
" << endl
<< "
@
inbounds
begin
" << endl
<< tt_output.str()
...
...
This diff is collapsed.
Click to expand it.
src/StaticModel.hh
+
1
−
1
View file @
e9364c10
...
...
@@ -297,7 +297,7 @@ StaticModel::writeParamsDerivativesFile(const string &basename) const
paramsDerivsFile
<<
"# NB: this file was automatically generated by Dynare"
<<
endl
<<
"# from "
<<
basename
<<
".mod"
<<
endl
<<
"#"
<<
endl
<<
"function params_derivs(y, x, params)"
<<
endl
<<
"function
static_
params_derivs(y, x, params)"
<<
endl
<<
"@inbounds begin"
<<
endl
<<
tt_output
.
str
()
<<
"rp = zeros("
<<
equations
.
size
()
<<
", "
...
...
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