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
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
Sébastien Peillet
otb
Commits
557b3807
Commit
557b3807
authored
9 years ago
by
Julien Michel
Browse files
Options
Downloads
Patches
Plain Diff
COMP: Fixing compilation errors with gcc 4.9
parent
929dea9b
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
Modules/Filtering/MathParserX/src/otbParserXPlugins.cxx
+9
-9
9 additions, 9 deletions
Modules/Filtering/MathParserX/src/otbParserXPlugins.cxx
with
9 additions
and
9 deletions
Modules/Filtering/MathParserX/src/otbParserXPlugins.cxx
+
9
−
9
View file @
557b3807
...
...
@@ -66,7 +66,7 @@ void dotpr::Eval(mup::ptr_val_type &ret, const mup::ptr_val_type *a_pArg, int a_
int
nbrows
=
m1
.
GetRows
();
int
nbcols
=
m1
.
GetCols
();
mup
::
matrix_type
res
(
1
,
a_iArgc
-
1
,
0
);
mup
::
matrix_type
res
(
1
,
a_iArgc
-
1
,
0
.
);
for
(
int
k
=
1
;
k
<
a_iArgc
;
++
k
)
{
...
...
@@ -360,7 +360,7 @@ void cat::Eval(mup::ptr_val_type &ret, const mup::ptr_val_type *a_pArg, int a_iA
}
// The return value is passed by writing it to the reference ret
mup
::
matrix_type
res
(
1
,
vect
.
size
(),
0
);
mup
::
matrix_type
res
(
1
,
vect
.
size
(),
0
.
);
for
(
unsigned
int
j
=
0
;
j
<
vect
.
size
();
j
++
)
res
.
At
(
0
,
j
)
=
vect
[
j
];
*
ret
=
res
;
...
...
@@ -410,7 +410,7 @@ void mean::Eval(mup::ptr_val_type &ret, const mup::ptr_val_type *a_pArg, int a_i
}
// The return value is passed by writing it to the reference ret
mup
::
matrix_type
res
(
1
,
vect
.
size
(),
0
);
mup
::
matrix_type
res
(
1
,
vect
.
size
(),
0
.
);
for
(
unsigned
int
j
=
0
;
j
<
vect
.
size
();
j
++
)
res
.
At
(
0
,
j
)
=
vect
[
j
];
*
ret
=
res
;
...
...
@@ -467,9 +467,9 @@ void var::Eval(mup::ptr_val_type &ret, const mup::ptr_val_type *a_pArg, int a_iA
}
// The return value is passed by writing it to the reference ret
mup
::
matrix_type
res
(
1
,
vect
.
size
(),
0
);
mup
::
matrix_type
res
(
1
,
vect
.
size
(),
0
.
);
for
(
unsigned
int
j
=
0
;
j
<
vect
.
size
();
j
++
)
res
.
At
(
0
,
j
)
=
vect
[
j
];
res
.
At
(
0
,
j
)
=
static_cast
<
mup
::
float_type
>
(
vect
[
j
]
)
;
*
ret
=
res
;
}
...
...
@@ -567,9 +567,9 @@ void median::Eval(mup::ptr_val_type &ret, const mup::ptr_val_type *a_pArg, int a
}
// The return value is passed by writing it to the reference ret
mup
::
matrix_type
res
(
1
,
vect
.
size
(),
0
);
mup
::
matrix_type
res
(
1
,
vect
.
size
(),
0
.
);
for
(
unsigned
int
j
=
0
;
j
<
vect
.
size
();
j
++
)
res
.
At
(
0
,
j
)
=
vect
[
j
];
res
.
At
(
0
,
j
)
=
static_cast
<
mup
::
float_type
>
(
vect
[
j
]
)
;
*
ret
=
res
;
}
...
...
@@ -634,9 +634,9 @@ void maj::Eval(mup::ptr_val_type &ret, const mup::ptr_val_type *a_pArg, int a_iA
}
// The return value is passed by writing it to the reference ret
mup
::
matrix_type
res
(
1
,
vect
.
size
(),
0
);
mup
::
matrix_type
res
(
1
,
vect
.
size
(),
0
.
);
for
(
unsigned
int
j
=
0
;
j
<
vect
.
size
();
j
++
)
res
.
At
(
0
,
j
)
=
vect
[
j
];
res
.
At
(
0
,
j
)
=
static_cast
<
mup
::
float_type
>
(
vect
[
j
]
)
;
*
ret
=
res
;
}
...
...
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