1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 22:23:18 +00:00

rv::som:: changed the type of analyze_each to ld, so that it can be animated

This commit is contained in:
Zeno Rogue 2022-04-21 13:28:03 +02:00
parent 065666a5a1
commit 42cc598dd0

View File

@ -366,7 +366,7 @@ void distribute_neurons() {
}
int last_analyze_step;
int analyze_each;
ld analyze_each;
void analyze() {
@ -1789,7 +1789,7 @@ auto hooks4 = addHook(hooks_clearmemory, 100, clear)
param_b(show_rings, "som_show_rings");
param_b(animate_once, "som_animate_once");
param_b(animate_loop, "som_animate_loop");
param_i(analyze_each, "som_analyze_each");
param_f(analyze_each, "som_analyze_each");
param_f(dispersion_precision, "som_dispersion")
-> set_reaction([] { state &=~ KS_DISPERSION; });
});