PDA

View Full Version : patch for vertices_connectivity.m


yarikoptic
July 21st, 2005, 20:32
There is a bug which causes BEM computation to quit with error. Bug is quoted below because attachements are not permitted

--- Toolbox/vertices_connectivity.m 2005-06-27 10:50:40.000000000 -1000
+++ Custom/vertices_connectivity.m 2005-07-21 15:44:29.000000000 -1000
@@ -80,10 +80,11 @@
end
end
end
-close(hwait);
+

if(VERBOSE),
- hwait = waitbar(0,sprintf('Now sorting the vertex results'));
+ close(hwait); % has to be closed iff VERBOSE
+ hwait = waitbar(0,sprintf('Now sorting the vertex results'));
drawnow %flush the display
end

@@ -96,6 +97,9 @@
end
VertConn{i} = unique(VertConn{i});
end
-close(hwait);
+
+if (VERBOSE), % has to be closed iff VERBOSE
+ close(hwait);
+end

return

Sylvain
December 2nd, 2005, 04:04
Thanks a lot for reporting. We'll check this out in our next update in preparation.