Skip Menu |

This queue is for tickets about the ai-nnflex CPAN distribution.

Report information
The Basics
Id: 121492
Status: new
Priority: 0/
Queue: ai-nnflex

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] dump_state does not work
This bug makes the module pretty useless for any real-world tasks. Attached patch fixes it.
Subject: open_KtKtYVgz.txt
diff -rup AI-NNFlex-0.24-0/lib/AI/NNFlex.pm AI-NNFlex-0.24-Xv1lEN/lib/AI/NNFlex.pm --- AI-NNFlex-0.24-0/lib/AI/NNFlex.pm 2017-05-01 14:46:46.000000000 -0700 +++ AI-NNFlex-0.24-Xv1lEN/lib/AI/NNFlex.pm 2017-05-01 14:46:43.000000000 -0700 @@ -445,6 +445,7 @@ sub dump_state #FIXME - a more easily read format would be connectedNode first in the file my $weight = ${$node->{'connectedNodesWest'}->{'weights'}}[$connectedNodeCounter]; print OFILE $node->{'nodeid'}." -> ".$connectedNode->{'nodeid'}." = ".$weight."\n"; + $connectedNodeCounter++; } } }