mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-05 11:12:49 +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) {
|
void neurondisttable(const string &name) {
|
||||||
FILE *f = fopen(fname.c_str(), "wt");
|
FILE *f = fopen(name.c_str(), "wt");
|
||||||
if(!f) {
|
if(!f) {
|
||||||
printf("Could not open file: %s\n", fname.c_str());
|
printf("Could not open file: %s\n", name.c_str());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int neurons = size(net);
|
int neurons = size(net);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user