1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

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

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);