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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
preprocessor
Commits
3aa48f58
Commit
3aa48f58
authored
2 years ago
by
MichelJuillard
Browse files
Options
Downloads
Patches
Plain Diff
add class for exceptions
parent
753f4340
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/DataTree.hh
+7
-1
7 additions, 1 deletion
src/DataTree.hh
with
7 additions
and
1 deletion
src/DataTree.hh
+
7
−
1
View file @
3aa48f58
...
@@ -142,13 +142,17 @@ public:
...
@@ -142,13 +142,17 @@ public:
expr_t
MinusOne
,
MinusInfinity
;
expr_t
MinusOne
,
MinusInfinity
;
//! Raised when a local parameter is declared twice
//! Raised when a local parameter is declared twice
struct
LocalVariableException
class
LocalVariableException
{
{
public:
string
name
;
string
name
;
LocalVariableException
(
str
name_arg
)
:
name
(
name_arg
)
{}
};
};
class
DivisionByZeroException
class
DivisionByZeroException
{
{
public:
DivisionByZeroException
()
{}
};
};
inline
expr_t
AddPossiblyNegativeConstant
(
double
val
);
inline
expr_t
AddPossiblyNegativeConstant
(
double
val
);
...
@@ -284,6 +288,8 @@ public:
...
@@ -284,6 +288,8 @@ public:
//! Thrown when trying to access an unknown variable by deriv_id
//! Thrown when trying to access an unknown variable by deriv_id
class
UnknownDerivIDException
class
UnknownDerivIDException
{
{
public:
UnknownDerivIDException
()
{}
};
};
//! Raised when a trend is declared twice
//! Raised when a trend is declared twice
...
...
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