Index: /issm/trunk-jpl/src/c/modules/MeshProfileIntersectionx/MeshProfileIntersectionx.cpp
===================================================================
--- /issm/trunk-jpl/src/c/modules/MeshProfileIntersectionx/MeshProfileIntersectionx.cpp	(revision 19331)
+++ /issm/trunk-jpl/src/c/modules/MeshProfileIntersectionx/MeshProfileIntersectionx.cpp	(revision 19332)
@@ -391,5 +391,5 @@
 
 		//test if the 2 segments have the same middle (->intersects=true)
-		if (O2O1==0){
+		if(O2O1[0]==0 && O2O1[1]){
 			alpha=0; beta=0;
 			*palpha=alpha;*pbeta=beta;
