Index: /issm/trunk-jpl/src/m/shp/Shp2Exp.m
===================================================================
--- /issm/trunk-jpl/src/m/shp/Shp2Exp.m	(revision 17345)
+++ /issm/trunk-jpl/src/m/shp/Shp2Exp.m	(revision 17346)
@@ -37,8 +37,7 @@
 		elseif strcmpi(shp(i).Geometry,'Line'),
 			x=shp(i).X; y=shp(i).Y;
+			x(end)=x(1); y(end)=y(1);
 			expstruct(end+1).x=x;
 			expstruct(end).y=y;
-			expstruct.x(end)=x(1);
-			expstruct.y(end)=y(1);
 			expstruct(end).nods=length(x);
 			expstruct(end).density=1;
