Index: /issm/trunk/src/m/partition/partitioner.m
===================================================================
--- /issm/trunk/src/m/partition/partitioner.m	(revision 4642)
+++ /issm/trunk/src/m/partition/partitioner.m	(revision 4643)
@@ -35,5 +35,5 @@
 
 	%  default method (from chaco.m)
-	method=[1 1 0 0 1 1 50 0 .001 7654321];
+	method=[1 1 0 0 1 1 50 0 .001 7654321]';
 	method(1)=3;    %  global method (3=inertial (geometric))
 	method(3)=1;    %  vertex weights (0=off, 1=on)
@@ -49,9 +49,9 @@
 	
 		%  partition into nparts
-		part=Chaco(md.adjacency,floor(md.vwgt/min(md.vwgt)),[],[md.x md.y md.z],method,npart)'; 
+		part=Chaco(md.adjacency,floor(md.vwgt/min(md.vwgt)),[],md.x, md.y ,md.z,method,npart,[])'; 
 	else
 		%  partition into nparts
 		method(3)=0;    %  vertex weights (0=off, 1=on)
-		part=Chaco(md.adjacency,[],[],[md.x md.y md.z],method,npart)'; 
+		part=Chaco(md.adjacency,[],[],md.x, md.y, md.z,method,npart,[])'; 
 	end
 	part=part+1; %index partitions from 1 up. like metis.
