fixed saving the neuron dist table

This commit is contained in:
Zeno Rogue 2018-04-21 16:19:29 +02:00
parent 5c4692b698
commit 9b95ad23c5
1 changed files with 2 additions and 2 deletions

View File

@ -943,9 +943,9 @@ void klistsamples(const string& fname_samples, bool best, bool colorformat) {
}
void neurondisttable(const string &name) {
FILE *f = fopen(fname.c_str(), "wt");
FILE *f = fopen(name.c_str(), "wt");
if(!f) {
printf("Could not open file: %s\n", fname.c_str());
printf("Could not open file: %s\n", name.c_str());
return;
}
int neurons = size(net);