Commit e2a0f826 authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent bd571755
......@@ -73,7 +73,6 @@ private:
AddParameter(ParameterType_Int, "maxiter", "Maximum number of iterations");
SetParameterDescription("maxiter", "Algorithm iterative scheme will stop if convergence hasn't been reached after the maximum number of iterations.");
MandatoryOff("maxiter");
......
......@@ -49,8 +49,8 @@ struct ProcessVisitor : boost::static_visitor<>
assert(source && "can't filter a nil datasource");
assert(destination && "can't filter to a nil datasource");
for (otb::ogr::DataSource::const_iterator b = source->begin(), e = source->end()
; b != e
; ++b
; b != e
; ++b
)
{
otb::ogr::Layer const& sourceLayer = *b;
......
......@@ -141,7 +141,6 @@ int main(int argc, char * argv[])
filter->SetSpatialBandwidth(spatialRadius);
filter->SetRangeBandwidth(rangeRadius);
filter->SetMinRegionSize(minRegionSize);
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
//
......@@ -151,10 +150,8 @@ int main(int argc, char * argv[])
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
filter->SetMaxIterationNumber(maxiter);
filter->SetThreshold(thres);
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
//
......@@ -169,7 +166,6 @@ int main(int argc, char * argv[])
writer1->Update();
writer2->Update();
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment