Index: /issm/trunk-jpl/src/c/classes/Elements/Seg.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Seg.cpp	(revision 17346)
+++ /issm/trunk-jpl/src/c/classes/Elements/Seg.cpp	(revision 17347)
@@ -251,8 +251,8 @@
 
 	if(xyz_list_front[0] == xyz_list[0]){
+		gauss = new GaussSeg(-1.);
+	}
+	else if(xyz_list_front[0] == xyz_list[3*1+0]){
 		gauss = new GaussSeg(+1.);
-	}
-	else if(xyz_list_front[0] == xyz_list[3*1+0]){
-		gauss = new GaussSeg(-1.);
 	}
 	else{
