Hello All,<div><br></div><div>I&#39;ve built a class and I would like to use GALib inside of it, but I keep getting an error.</div><div><br></div><div>I am trying to do the following:</div><div>GA2DBinaryStringGenome genome(width,height,(GAGenome::Evaluator)Objective);</div>
<div><br></div><div>where Objective is a member function of my class. I keep getting the error :</div><div><div>argument of type `float (GA::)(GAGenome&amp;)&#39; does not match `float (*)(GAGenome&amp;)&#39;</div><div><br>
</div><div>Any suggestions? Thanks.</div><div><br></div></div><div><br clear="all"><br>-- <br>Robert C. Green II<br>(412) 860-4825<br><br><a href="http://www.parallelcoding.com">http://www.parallelcoding.com</a><br>
</div>