Index: /issm/branches/trunk-jpl-damage/src/m/model/plot/plot_rifts.m
===================================================================
--- /issm/branches/trunk-jpl-damage/src/m/model/plot/plot_rifts.m	(revision 11500)
+++ /issm/branches/trunk-jpl-damage/src/m/model/plot/plot_rifts.m	(revision 11501)
@@ -17,5 +17,5 @@
 if isstruct(md.rifts.riftstruct),
 	
-	for i=1:md.rifts.numrifts,
+	for i=1:size(md.rifts.riftstruct,1),
 		penaltypairs=md.rifts.riftstruct(i).penaltypairs;
 
