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-&gt;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><div>Pedro Torres</div>