mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 23:47:00 +00:00
rogueviz::kohonen:: fixed uninitialized variable
This commit is contained in:
parent
a37cfb43bb
commit
34d7b1de96
@ -224,7 +224,7 @@ void coloring() {
|
||||
void distribute_neurons() {
|
||||
whowon.resize(samples);
|
||||
|
||||
for(neuron& n: net) n.drawn_samples = 0;
|
||||
for(neuron& n: net) n.drawn_samples = 0, n.csample = 0;
|
||||
|
||||
for(auto p: sample_vdata_id) {
|
||||
int s = p.first;
|
||||
|
Loading…
Reference in New Issue
Block a user