We should add a 'get'. For now, include 'private/matimpl.h'<div><br></div><div> Matt<br><br><div class="gmail_quote">On Thu, Feb 11, 2010 at 12:33 PM, Pedro Torres <span dir="ltr"><<a href="mailto:torres.pedrozpk@gmail.com">torres.pedrozpk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div><br></div><div>How can I check if a mapping is already set in a Vec/Mat object??. I try the following, </div><div>
<br></div><div>if(!A->mapping)MatSetLocalToGlobalMapping(A,map);</div><div><br></div><div>but I get this error </div>
<div>error: invalid use of incomplete type ‘struct _p_Mat’</div><div>error: forward declaration of ‘struct _p_Mat’</div><div><br></div><div>Thanks in advance</div><div><br></div><font color="#888888"><div>Pedro Torres</div>
</font></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>
</div>