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
46e0873e
Commit
46e0873e
authored
Jul 25, 2011
by
Houtan Bastani
Browse files
remove writing of getPowerDeriv M function from block code functions
parent
4f342655
Changes
2
Hide whitespace changes
Inline
Side-by-side
preprocessor/DynamicModel.cc
View file @
46e0873e
...
@@ -1034,7 +1034,6 @@ DynamicModel::writeModelEquationsCode(string &file_name, const string &bin_basen
...
@@ -1034,7 +1034,6 @@ DynamicModel::writeModelEquationsCode(string &file_name, const string &bin_basen
fendblock
.
write
(
code_file
,
instruction_number
);
fendblock
.
write
(
code_file
,
instruction_number
);
FEND_
fend
;
FEND_
fend
;
fend
.
write
(
code_file
,
instruction_number
);
fend
.
write
(
code_file
,
instruction_number
);
writePowerDeriv
(
code_file
,
false
);
code_file
.
close
();
code_file
.
close
();
}
}
...
...
preprocessor/StaticModel.cc
View file @
46e0873e
...
@@ -396,7 +396,6 @@ StaticModel::writeModelEquationsOrdered_M(const string &static_basename) const
...
@@ -396,7 +396,6 @@ StaticModel::writeModelEquationsOrdered_M(const string &static_basename) const
break
;
break
;
}
}
output
<<
"end"
<<
endl
;
output
<<
"end"
<<
endl
;
writePowerDeriv
(
output
,
false
);
output
.
close
();
output
.
close
();
}
}
}
}
...
@@ -564,7 +563,6 @@ StaticModel::writeModelEquationsCode(const string file_name, const string bin_ba
...
@@ -564,7 +563,6 @@ StaticModel::writeModelEquationsCode(const string file_name, const string bin_ba
fendblock
.
write
(
code_file
,
instruction_number
);
fendblock
.
write
(
code_file
,
instruction_number
);
FEND_
fend
;
FEND_
fend
;
fend
.
write
(
code_file
,
instruction_number
);
fend
.
write
(
code_file
,
instruction_number
);
writePowerDeriv
(
code_file
,
false
);
code_file
.
close
();
code_file
.
close
();
}
}
...
@@ -1238,7 +1236,6 @@ StaticModel::writeStaticMFile(const string &func_name) const
...
@@ -1238,7 +1236,6 @@ StaticModel::writeStaticMFile(const string &func_name) const
output
<<
"end"
<<
endl
;
// Close the if nargout >= 3 statement
output
<<
"end"
<<
endl
;
// Close the if nargout >= 3 statement
output
<<
"end"
<<
endl
;
// Close the *_static function
output
<<
"end"
<<
endl
;
// Close the *_static function
writePowerDeriv
(
output
,
false
);
output
.
close
();
output
.
close
();
}
}
...
@@ -1323,7 +1320,6 @@ StaticModel::writeStaticBlockMFSFile(const string &basename) const
...
@@ -1323,7 +1320,6 @@ StaticModel::writeStaticBlockMFSFile(const string &basename) const
}
}
output
<<
" end"
<<
endl
output
<<
" end"
<<
endl
<<
"end"
<<
endl
;
<<
"end"
<<
endl
;
writePowerDeriv
(
output
,
false
);
output
.
close
();
output
.
close
();
}
}
...
...
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