<span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Hi there,<div><br></div><div>One of our postdr here raised a question lately, in his model, he want to use  df1b2variable operator - (const df1b2variable& x,double y); and I found out these being commented out in df1b2fun.h, <div>

//df1b2variable operator - (double x, const df1b2variable& y);<div>//df1b2variable operator - (const df1b2variable& x, double y);</div><div><br></div><div>So is there anyone can explain why these are being commented out and not being implemented in admb,  if it was just forgot, then I will first uncomment out the above two lines in df1b2fun.h, then add the following two inline functions after that in the same file , these basically called one of already defined operator+(). </div>

<div><br></div><div><div><div>inline df1b2variable operator - (double x, const df1b2variable& y) {return x+(-1.*y);}</div><div>inline df1b2variable operator - (const df1b2variable& x,double y) {return  (-1.*y)+x;}</div>

</div></div><div><br></div><div><br></div><div><div>This update was build fine on my side, and I don't have writable access to svn, so someone will help on this. Thanks</div></div></div></div><div><br></div></span><br>
-- <br>Weihai Liu<br>~~~~~~~~~~~~~~~~~~~~~~~~<br>
Quantitative Fisheries Center<br>Department of Fisheries & Wildlife<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>