From 74ed077cb9adf630c5511b09aa33af64cfa229e8 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@orfeo-toolbox.org>
Date: Wed, 23 Jun 2010 09:52:16 +0200
Subject: [PATCH] TEST: Missing one file output

---
 .../Code/FeatureExtraction/otbScalarImageToTexturesFilter.cxx    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Testing/Code/FeatureExtraction/otbScalarImageToTexturesFilter.cxx b/Testing/Code/FeatureExtraction/otbScalarImageToTexturesFilter.cxx
index dadae54aef..1bbe360631 100644
--- a/Testing/Code/FeatureExtraction/otbScalarImageToTexturesFilter.cxx
+++ b/Testing/Code/FeatureExtraction/otbScalarImageToTexturesFilter.cxx
@@ -88,6 +88,7 @@ int otbScalarImageToTexturesFilter(int argc, char * argv[])
   oss<<outprefix<<"Energy.tif";
   writer->SetInput(filter->GetEnergyOutput());
   writer->SetFileName(oss.str());
+  writer->Update();
 
   oss.str("");
   oss<<outprefix<<"Entropy.tif";
-- 
GitLab