Index: /issm/trunk-jpl/src/m/qmu/sensitivities.m
===================================================================
--- /issm/trunk-jpl/src/m/qmu/sensitivities.m	(revision 13240)
+++ /issm/trunk-jpl/src/m/qmu/sensitivities.m	(revision 13241)
@@ -42,5 +42,8 @@
 
 	%ipick up the variable in the model
-	variable=md.(EnumToModelField(StringToEnum(variablename)));
+	switch variablename,
+		case 'thickness', variable = md.geometry.thickness; 
+		otherwise, error(['scaled variable ' variablename  ' not associated to any model field']);
+	end
 
 	%average it onto the partition
