Index: /issm/trunk/src/c/objects/Penpair.cpp
===================================================================
--- /issm/trunk/src/c/objects/Penpair.cpp	(revision 217)
+++ /issm/trunk/src/c/objects/Penpair.cpp	(revision 218)
@@ -199,6 +199,5 @@
 
 	if(numdofs==2){ 
-		/*We have a penalty for rift: */
-		/*Same for elements: */
+		/* This is a rift so we need to link the load with the elements*/
 		ResolvePointers((Object**)&elements,element_ids,element_offsets,2,elementsin);
 	}
@@ -233,5 +232,11 @@
 #define __FUNCT__ "Penpair::PenaltyCreateKMatrix"
 void  Penpair::PenaltyCreateKMatrix(Mat Kgg,ParameterInputs* inputs,double kmax,int analysis_type){
-	throw ErrorException(__FUNCT__," not implemented yet!");
+	if(numdofs==1){
+		throw ErrorException(__FUNCT__," not implemented yet!");
+
+	}
+	else if (numdofs==2){
+		throw ErrorException(__FUNCT__," not implemented yet!");
+	}
 }
 		
