Index: /issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpBedmachineGreenland.m
===================================================================
--- /issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpBedmachineGreenland.m	(revision 25735)
+++ /issm/trunk-jpl/src/m/contrib/morlighem/modeldata/interpBedmachineGreenland.m	(revision 25736)
@@ -19,8 +19,9 @@
 
 found = 0;
-for i=1:numel(paths)+1
+for i=1:numel(paths)
 	if exist(paths{i},'file')
+		ncfile = parths{i}
 		found = 1;
-		ncfile = parths{i}
+		break;
 	end
 end
