mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixed saving the neuron dist table
This commit is contained in:
parent
5c4692b698
commit
9b95ad23c5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user