mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-29 04:47:41 +00:00
fixed saving the neuron dist table
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user