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
Sébastien Villemot
preprocessor
Commits
89a1a4d2
Verified
Commit
89a1a4d2
authored
2 years ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused function
parent
5ff503a9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/SymbolTable.cc
+0
-8
0 additions, 8 deletions
src/SymbolTable.cc
src/SymbolTable.hh
+1
-3
1 addition, 3 deletions
src/SymbolTable.hh
with
1 addition
and
11 deletions
src/SymbolTable.cc
+
0
−
8
View file @
89a1a4d2
...
...
@@ -862,14 +862,6 @@ SymbolTable::isAuxiliaryVariable(int symb_id) const
return
any_of
(
aux_vars
.
begin
(),
aux_vars
.
end
(),
[
=
](
const
auto
&
av
)
{
return
av
.
symb_id
==
symb_id
;
});
}
bool
SymbolTable
::
isAuxiliaryVariableButNotMultiplier
(
int
symb_id
)
const
{
return
any_of
(
aux_vars
.
begin
(),
aux_vars
.
end
(),
[
=
](
const
auto
&
av
)
{
return
av
.
symb_id
==
symb_id
&&
av
.
type
!=
AuxVarType
::
multiplier
;
});
}
bool
SymbolTable
::
isDiffAuxiliaryVariable
(
int
symb_id
)
const
{
...
...
This diff is collapsed.
Click to expand it.
src/SymbolTable.hh
+
1
−
3
View file @
89a1a4d2
/*
* Copyright © 2003-202
2
Dynare Team
* Copyright © 2003-202
3
Dynare Team
*
* This file is part of Dynare.
*
...
...
@@ -391,8 +391,6 @@ public:
set
<
int
>
getEndogenous
()
const
;
//! Is a given symbol an auxiliary variable
bool
isAuxiliaryVariable
(
int
symb_id
)
const
;
//! Is a given symbol an auxiliary variable but not a Lagrange multiplier
bool
isAuxiliaryVariableButNotMultiplier
(
int
symb_id
)
const
;
//! Is a given symbol a diff, diff lead, or diff lag auxiliary variable
bool
isDiffAuxiliaryVariable
(
int
symb_id
)
const
;
//! Get list of endogenous variables without aux vars
...
...
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