From 7a12e4df02975c93aee4d879390364ffdd7ea97c Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 8 Sep 2011 06:31:45 +0000 Subject: [PATCH] fix comment --- src/MEDLoader/SauvWriter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MEDLoader/SauvWriter.cxx b/src/MEDLoader/SauvWriter.cxx index c842270cb..d02ac05fa 100644 --- a/src/MEDLoader/SauvWriter.cxx +++ b/src/MEDLoader/SauvWriter.cxx @@ -543,12 +543,12 @@ void SauvWriter::makeProfileIDs( SubMesh* sm, // profile on cells vector code(3); code[0] = type; - if ( profile ) // on all cells + if ( profile ) // on profile { code[1] = profile->getNumberOfTuples(); code[2] = 0; } - else + else // on all cells { code[1] = mesh->getNumberOfCellsWithType( type ); code[2] = -1; -- 2.39.2