Index: /issm/trunk-jpl/src/c/matlab/io/PetscVectorToDoubleVector.cpp
===================================================================
--- /issm/trunk-jpl/src/c/matlab/io/PetscVectorToDoubleVector.cpp	(revision 12023)
+++ /issm/trunk-jpl/src/c/matlab/io/PetscVectorToDoubleVector.cpp	(revision 12024)
@@ -1,5 +1,4 @@
 /* \file PetscVectorToDoubleVector.cpp
  */
-
 
 #ifdef HAVE_CONFIG_H
@@ -9,5 +8,4 @@
 #endif
 
-
 /*Petsc includes: */
 #include "petscmat.h"
@@ -15,10 +13,7 @@
 #include "petscksp.h"
 
-/*Petsc includes: */
 #include "mex.h"
-
 #include "../../shared/shared.h"
 #include <string>
-
 
 void PetscVectorToDoubleVector(double** pvector, int* prows, Vec petsc_vector){
@@ -33,5 +28,5 @@
 
 	/*Get size of vector: */
-	if(vector){
+	if(petsc_vector){
 		VecGetSize(petsc_vector,&rows);
 		if(rows){
