diff --git a/public/main.js b/public/main.js index 1f8cbad..7a6e206 100644 --- a/public/main.js +++ b/public/main.js @@ -69,7 +69,7 @@ return this.dot(this); }; Vector.prototype.norm = function() { - return Math.sqrt(this.normSquared(this)); + return Math.sqrt(this.normSquared()); }; Vector.prototype.distance_squared = function(other) { var diffX = this.x - other.x;