<div dir="ltr"><div>In this case I expect the result should be byte-wise identical. Should I expect some roundoff? Why?<br><br></div>Thanks,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 18, 2015 at 12:17 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Chung-Kan Huang <<a href="mailto:ckhuangf@gmail.com">ckhuangf@gmail.com</a>> writes:<br>
<br>
> Hi,<br>
><br>
> I created matrix with MATBAIJ and I use<br>
> MatConvert(J, MATAIJ, MAT_REUSE_MATRIX, & J);<br>
> to convert it to MATAIJ.<br>
><br>
> I ran some tests<br>
> MATBAIJ: create & use MATBAIJ for later assembly<br>
> MATBAIJ2MATAIJ: create as MATBAIJ then convert to MATAIJ & use MATAIJ for<br>
> later assembly<br>
> MATAIJ: create & use MATAIJ for later assembly<br>
><br>
> and I found following results<br>
><br>
><br>
> MATBAIJ == MATBAIJ2MATAIJ != MATAIJ<br>
> as I was expected to see<br>
> MATBAIJ != MATBAIJ2MATAIJ == MATAIJ<br>
<br>
</span>How are you defining equality?<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><p><strong>Cheers</strong></p></div>
</div>