-- ensure that the internal storage for g's matrix is a</span>
0003 <span class="comment">% logical matrix (for space efficiency).</span>
0004 <span class="comment">% This function is called by various matgraph routines and it should not</span>
0005 <span class="comment">% be necessary to call this in ordinary use of matgraph.</span>
0006 
0007 <span class="keyword">global</span> GRAPH_MAGIC
0008 
0009 <span class="keyword">if</span> (~islogical(GRAPH_MAGIC.graphs{g.idx}.array))
0010     GRAPH_MAGIC.graphs{