Skip to content
Snippets Groups Projects
Commit 3cc83211 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Suite a compilation sur SunOS :

Remplacement fonction ceilf (non ANSI) par ceil.
parent 848d0d4a
Branches
Tags
No related merge requests found
......@@ -18,6 +18,8 @@ PURPOSE. See the above copyright notices for more information.
#ifndef _otbMorphologicalPyramidAnalyseFilter_txx
#define _otbMorphologicalPyramidAnalyseFilter_txx
#include <math.h>
#include "otbMorphologicalPyramidAnalyseFilter.h"
#include "itkSubtractImageFilter.h"
......@@ -147,7 +149,7 @@ namespace otb
typename InputImageType::Pointer upsampled;
// Structuring element size computation
const int structElementDimension=static_cast<int>(ceilf(this->GetSubSampleScale()/2.));
const int structElementDimension=static_cast<int>(ceil(static_cast<double>(this->GetSubSampleScale()/2.)));
// Structuring element creation
KernelType structuringElement;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment