Index: /issm/trunk/src/c/objects/Sing.cpp
===================================================================
--- /issm/trunk/src/c/objects/Sing.cpp	(revision 3404)
+++ /issm/trunk/src/c/objects/Sing.cpp	(revision 3405)
@@ -210,4 +210,10 @@
 	/*recover pointers: */
 	inputs=(ParameterInputs*)vinputs;
+
+	/*recover objects from hooks: */
+	nodes=(Node**)hnodes.deliverp();
+	matpar=(Matpar*)hmatpar.delivers();
+	matice=(Matice*)hmatice.delivers();
+	numpar=(Numpar*)hnumpar.delivers();
 
 	/*Update internal data if inputs holds new values: */
@@ -379,7 +385,7 @@
 	numpar=(Numpar*)hnumpar.delivers();
 
-	found=inputs->Recover("surfaceslopex",&slope[0],1,dofs,numgrids,(void**)&node);
+	found=inputs->Recover("surfaceslopex",&slope[0],1,dofs,numgrids,(void**)&node[0]);
 	if(!found)ISSMERROR(" surfaceslopex missing from inputs!");
-	found=inputs->Recover("surfaceslopey",&slope[1],1,dofs,numgrids,(void**)&node);
+	found=inputs->Recover("surfaceslopey",&slope[1],1,dofs,numgrids,(void**)&node[0]);
 	if(!found)ISSMERROR(" surfaceslopey missing from inputs!");
 
