Index: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/toolkits/issm/SeqVec.cpp
===================================================================
--- /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/toolkits/issm/SeqVec.cpp	(revision 12862)
+++ /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/toolkits/issm/SeqVec.cpp	(revision 12863)
@@ -41,7 +41,7 @@
 	this->M=pM;
 	this->vector=NULL;
 	if(this->M){
-		this->vector=xNewZeroInit<IssmDouble>(pM);
+		this->vector=xNew<IssmDouble>(pM);
 		xMemCpy<IssmDouble>(this->vector,buffer,pM);
 	}
 }
Index: /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/toolkits/petsc/objects/PetscVec.cpp
===================================================================
--- /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/toolkits/petsc/objects/PetscVec.cpp	(revision 12862)
+++ /u/astrid-r1b/morlighe/issmuci/trunk-jpl/../trunk-jpl/src/c/toolkits/petsc/objects/PetscVec.cpp	(revision 12863)
@@ -33,6 +33,20 @@
 
 }
 /*}}}*/
+/*FUNCTION PetscVec::PetscVec(Vec petsc_vec){{{*/
+PetscVec::PetscVec(Vec petsc_vec){
+
+	if(petsc_vec==NULL){
+		this->vector=NewVec(0);
+	}
+	else{
+		/*copy vector*/
+		VecDuplicate(petsc_vec,&this->vector);
+		VecCopy(petsc_vec,this->vector);
+	}
+
+}
+/*}}}*/
 /*FUNCTION PetscVec::PetscVec(IssmDouble* serial_vec,int M){{{*/
 PetscVec::PetscVec(IssmDouble* serial_vec,int M){
 
@@ -53,21 +67,7 @@
     VecFree(&this->vector);
 }
 /*}}}*/
-/*FUNCTION Vector::Vector(Vec petsc_vec){{{*/
-PetscVec::PetscVec(Vec petsc_vec){
 
-	if(petsc_vec==NULL){
-		this->vector=NewVec(0);
-	}
-	else{
-		/*copy vector*/
-		VecDuplicate(petsc_vec,&this->vector);
-		VecCopy(petsc_vec,this->vector);
-	}
-
-}
-/*}}}*/
-
 /*PetscVec specific routines: */
 /*FUNCTION PetscVec::Echo{{{*/
 void PetscVec::Echo(void){
