From 1a9d73927fc75fdf5245a7733120677dc1df328e Mon Sep 17 00:00:00 2001 From: William Pringle Date: Mon, 12 Aug 2019 18:39:11 -0500 Subject: [PATCH] Update msh.m make sure the element quality is not displayed more than once when the recursive subroutine is called. --- @msh/msh.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/@msh/msh.m b/@msh/msh.m index 96134695..493b23ea 100644 --- a/@msh/msh.m +++ b/@msh/msh.m @@ -1002,9 +1002,7 @@ function write(obj,fname,type) varargino{end+1} = 0; end obj = clean(obj,varargino(:)); - end - - if opt.nscreen + elseif opt.nscreen disp(['number of nodes is ' num2str(length(obj.p))]) disp(['mean quality is ' num2str(mq_m)]) disp(['min quality is ' num2str(mq_l)])