Index: /issm/trunk-jpl/src/c/modules/Solverx/Solverx.cpp
===================================================================
--- /issm/trunk-jpl/src/c/modules/Solverx/Solverx.cpp	(revision 11686)
+++ /issm/trunk-jpl/src/c/modules/Solverx/Solverx.cpp	(revision 11687)
@@ -21,8 +21,10 @@
 
 	#ifdef _HAVE_PETSC_
-	Vec uf0_vector=NULL;
-	if (uf0)uf0_vector=uf0->vector;
+	Vec uf0_vector = NULL;
+	Vec df_vector  = NULL;
+	if(uf0) uf0_vector=uf0->vector;
+	if(df)  df_vector = df->vector;
 
-	SolverxPetsc(&uf->vector, Kff->matrix, pf->vector, uf0_vector, df->vector, parameters);
+	SolverxPetsc(&uf->vector,Kff->matrix,pf->vector,uf0_vector,df_vector,parameters);
 	VecGetSize(uf->vector,&uf->M);
 	#else
