Skip to content
Snippets Groups Projects
Commit 2f2f0b17 authored by Aurélien Bricier's avatar Aurélien Bricier
Browse files

TEST: corrected ImageFunctionAdapter test

parent 3f5ad876
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ int otbImageFunctionAdapter(int argc, char * argv[])
HMImageFunctionAdapterType::OutputType resultAdaptedHM = HMadaptedFunction->EvaluateAtIndex(index);
rsltIdx = 0;
for (unsigned int i=0; i<=7; i++)
for (unsigned int i=0; i<7; i++)
{
error += vcl_pow(vcl_abs(resultAdaptedHM[rsltIdx] - resultHM[i]), 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment