Thank you. Dave.<div>I take a quick test, your files works fine, I have to change the nlist++ to ++nlist in write_pass1_minusvc() function, since the compiler complain there is no postfix ++ for nlist. I think we can add these files to the svn, and uncomment out the operator-() for double in the header file. </div>
<div><br></div><div>cheers</div><div><br></div><div>weihai<br><br><div class="gmail_quote">On Sat, Jul 16, 2011 at 11:34 AM, dave fournier <span dir="ltr"><<a href="mailto:davef@otter-rsch.com">davef@otter-rsch.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>
<div bgcolor="#ffffff" text="#000000">
On 11-07-15 07:26 PM, Weihai Liu wrote:<br>
<br>
<br>
Something like this.<div class="im"><br>
<br>
<blockquote type="cite">Hi Dave,
<div>There is a whole file df1b2sumc.cpp defined only for
operator+(double, df1b2variable). Unless we came up another
similar file for operator-(), ow there will be some overhead
because I rely on the above operator+() when I defined
operator-(). How high the overhead will be I don't know. I just
put that two lines in the globals_section and have the model
running fine.</div>
<div><br>
</div>
<div>weihai <br>
<br>
<div class="gmail_quote">On Fri, Jul 15, 2011 at 8:55 PM, dave
fournier <span dir="ltr"><<a href="mailto:davef@otter-rsch.com" target="_blank">davef@otter-rsch.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
That is a painfully horribly inefficient way to accomplish
what you want.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Weihai Liu<br>
~~~~~~~~~~~~~~~~~~~~~~~~<br>
</div>
</blockquote>
<br>
</div><blockquote type="cite">
<div>Quantitative Fisheries CenterDepartment of Fisheries &
Wildlife<div class="im"><br>
Michigan State University<br>
153 Giltner Hall<br>
East Lansing, MI 48824<br>
Phone: <a href="tel:517-355-0126" value="+15173550126" target="_blank">517-355-0126</a><br>
Email: <a href="mailto:liuweih@msu.edu" target="_blank">liuweih@msu.edu</a> <br>
~~~~~~~~~~~~~~~~~~~~~~<br>
</div></div>
</blockquote>
<br>
</div>
</blockquote></div><br><br>
</div>