Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
f7cddc11
Commit
f7cddc11
authored
Apr 07, 2020
by
Cédric Traizet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: Fix assert
parent
8465c06d
Pipeline
#4135
failed with stages
in 5 minutes and 30 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Modules/Radiometry/Indices/include/otbWaterSqrtSpectralAngleImageFilter.h
...ry/Indices/include/otbWaterSqrtSpectralAngleImageFilter.h
+1
-1
No files found.
Modules/Radiometry/Indices/include/otbWaterSqrtSpectralAngleImageFilter.h
View file @
f7cddc11
...
...
@@ -64,7 +64,7 @@ public:
* */
void
SetReferenceWaterPixel
(
PixelType
ref
)
{
assert
(
m_ReferencePixel
.
Size
==
4
);
assert
(
m_ReferencePixel
.
Size
()
==
4
);
m_ReferencePixel
[
0
]
=
this
->
Value
(
CommonBandNames
::
BLUE
,
ref
);
m_ReferencePixel
[
1
]
=
this
->
Value
(
CommonBandNames
::
GREEN
,
ref
);
m_ReferencePixel
[
2
]
=
this
->
Value
(
CommonBandNames
::
RED
,
ref
);
...
...
Write
Preview
Markdown
is supported
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