Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added mode vector information in result returned by neighbors function

  • Loading branch information...
commit 33ba09d4b32872dd4fb00bc5129ddc4b81a7db60 1 parent cc24654
@Bediako Bediako authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  som.js
View
2  som.js
@@ -161,7 +161,7 @@ Som.prototype.neighbors = function(_id, _radius)
if (distance <= _radius)
{
- var vector = createVector(this.features, _node.weights);
+ var vector = createVector(that.features, _node.weights);
neighbors.push({distance: distance, x: _node.x, y: _node.y, i: _node.i, vector: vector, neighbors: _node.neighbors});
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.