fixes in Kohonen and Rogueviz

This commit is contained in:
Zeno Rogue committed 2018-05-18 13:57:55 +02:00
1 parent 728e57547a
commit a97dc473bf
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -797,7 +797,7 @@ void kload(const string& fname) {
}
if(fscanf(f, "%d%d\n", &xcells, &t) != 2) return;
if(xcells != cells) {
fprintf(stderr, "Error: bad number of cells\n");
fprintf(stderr, "Error: bad number of cells (x=%d c=%d)\n", xcells, cells);
exit(1);
}
for(neuron& n: net) {
+1
View File
@@ -1352,6 +1352,7 @@ void init() {
timerghost = false;
gmatrix.clear();
calcparam();
drawthemap();
gmatrix0 = gmatrix;
addMessage("RogueViz enabled");