From 4190569a391518c0c36d1f0982ff5f5548cd9db0 Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 14 Mar 2012 07:47:34 +0000 Subject: [PATCH] Fix for the "21504: EDF 2088 VISU: scalar map of the modulus of an ELGA field with 2 components" issue. --- src/CONVERTOR/VISU_MeshValue.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CONVERTOR/VISU_MeshValue.cxx b/src/CONVERTOR/VISU_MeshValue.cxx index 851aaa7f..30c0dd6c 100644 --- a/src/CONVERTOR/VISU_MeshValue.cxx +++ b/src/CONVERTOR/VISU_MeshValue.cxx @@ -346,7 +346,7 @@ namespace VISU TVTKBasicType aModule = (TVTKBasicType)sqrt((double)aModules[0]); aDataValues[0] = aModule; // init Min aDataValues[1] = aModule; // init Max - aDataValues[2] = aModule; // init Average + aDataValues[2] = 0.0; // init Average for (vtkIdType ig = 0; ig < aNbGauss; ig++) { aModule = (TVTKBasicType)sqrt((double)aModules[ig]); -- 2.39.2