Index: /issm/trunk/src/mex/DakotaResponses/DakotaResponses.cpp
===================================================================
--- /issm/trunk/src/mex/DakotaResponses/DakotaResponses.cpp	(revision 5527)
+++ /issm/trunk/src/mex/DakotaResponses/DakotaResponses.cpp	(revision 5528)
@@ -39,4 +39,7 @@
 	FetchParams(&parameters,PARAMETERSIN);
 	FetchData(&node_partition,NODEPARTITION);
+
+	/*shit partition by 1 (matlab to c indexing): */
+	VecShift(node_partition,-1.0); 
 
 	/*number of responses: */
