Commit 531b112d authored by Christophe Geuzaine's avatar Christophe Geuzaine

don't print empty nodetable

parent 28389d15
......@@ -1407,7 +1407,7 @@ void Format_PostFooter(struct PostSubOperation *PSO_P, int Store)
if(PostStream) Unv_PrintFooter(PostStream);
break ;
case FORMAT_NODE_TABLE :
if(PostStream){
if(PostStream && NodeTable.size()){
fprintf(PostStream, "%d\n", (int)NodeTable.size());
for(std::map<int, std::vector<double> >::iterator it = NodeTable.begin();
it != NodeTable.end(); it++){
......
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