Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Julien Cabieces
otb
Commits
01769a4b
Commit
01769a4b
authored
10 years ago
by
Christophe Palmann
Browse files
Options
Downloads
Patches
Plain Diff
otbParserX.cxx cleaned
parent
cd81060c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Common/otbParserX.cxx
+0
-13
0 additions, 13 deletions
Code/Common/otbParserX.cxx
with
0 additions
and
13 deletions
Code/Common/otbParserX.cxx
+
0
−
13
View file @
01769a4b
...
...
@@ -39,8 +39,6 @@ public:
itkTypeMacro
(
ParserXImpl
,
itk
::
LightObject
);
/** Convenient type definitions */
//typedef double ValueType; //chris
//typedef mu::Parser::exception_type ExceptionType; //chris
typedef
mup
::
Value
ValueType
;
typedef
mup
::
ParserError
ExceptionType
;
...
...
@@ -59,19 +57,8 @@ public:
/** Initialize user defined functions */
virtual
void
InitFun
()
{
//m_MuParserX.DefineFun("ndvi", Self::NDVI); chris
//m_MuParserX.DefineFun("NDVI", Self::NDVI); chris
m_MuParserX
.
DefineFun
(
new
ndvi
);
#ifdef OTB_MUPARSER_HAS_CXX_LOGICAL_OPERATORS
/* Starting with muParser 2.0.0, logical operators have been
renamed to "&&" and "||", instead of "and" and "or".
Reintroducing pre-2.0.0 operators, so formulas can be
defined with "and" and "or" even after 2.0.0
*/
//m_MuParser.DefineOprt("and", Self::AND); chris
//m_MuParser.DefineOprt("or", Self::OR); chris
#endif
}
/** Set the expression to be parsed */
...
...
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