TypeError: 'int' object is not callable

25 views
Skip to first unread message

Al Qasim

unread,
Feb 24, 2014, 5:23:48 AM2/24/14
to pyev...@googlegroups.com
Hello,

First of all thanks for this great package.

I am trying to run a calculation but I'm stuck with this error :

Traceback (most recent call last):
  File "GA_ISIS.py", line 112, in <module>
    ga.evolve()
  File "/usr/local/lib/python2.6/dist-packages/Pyevolve-0.5-py2.6.egg/pyevolve/GSimpleGA.py", line 439, in evolve
    self.internalPop.evaluate()
  File "/usr/local/lib/python2.6/dist-packages/Pyevolve-0.5-py2.6.egg/pyevolve/GPopulation.py", line 283, in evaluate
    ind.evaluate(**args)
  File "/usr/local/lib/python2.6/dist-packages/Pyevolve-0.5-py2.6.egg/pyevolve/GenomeBase.py", line 128, in evaluate
    for it in self.evaluator.applyFunctions(self, **args):
  File "/usr/local/lib/python2.6/dist-packages/Pyevolve-0.5-py2.6.egg/pyevolve/FunctionSlot.py", line 124, in applyFunctions
    yield f(obj, **args)
TypeError: 'int' object is not callable

Can you please help me out with that ?

Thanks in advance

Regards,

Ahmed 
Reply all
Reply to author
Forward
0 new messages