Register    Login    Forum    Search    FAQ

Board index » FANN » Bugs




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Possible bug in pyfann
 Post Posted: Fri Sep 18, 2009 7:15 am 
Offline

Joined: Fri Sep 18, 2009 7:03 am
Posts: 1
I am not shure if it is the right place to post.

I think i found a bug in the fann-2.1.0 source distribution

I downloaded the file fann-2.1.0beta.zip i build fann and the python bindings but it was giving me an error that shouldnt be there....

I located it in the file pyfann/pyfann.i

in line 111:
"if ((unsigned int)PySequence_Length(o1) == dim) {"
should be
"if ((unsigned int)PySequence_Length(o1) != dim) {"

it seemed to work for me

I hope i helped


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 1 post ] 

Board index » FANN » Bugs


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron