diff --git a/chunkie/@chunkgraph/vertextract.m b/chunkie/@chunkgraph/vertextract.m index 691ec88..7721b91 100644 --- a/chunkie/@chunkgraph/vertextract.m +++ b/chunkie/@chunkgraph/vertextract.m @@ -28,10 +28,11 @@ irel = find(cgrph.v2emat(:,ivert) ~= 0); % extract the indices of the edges which terminate at ivert. ieplus = find(cgrph.edgesendverts(2,irel) == ivert); -ieplus = irel(ieplus); +ieplus = irel(ieplus); ieplus = ieplus(:).'; % extract the indices of the edges which begin at ivert. ieminus = find(cgrph.edgesendverts(1,irel) == ivert); -ieminus = irel(ieminus); +ieminus = irel(ieminus); ieminus = ieminus(:).'; + % for each incoming edge, get the tangent vector near the end (at the % last discretization node)