diff --git a/src/expressions.js b/src/expressions.js index e91cb77..aa7d187 100644 --- a/src/expressions.js +++ b/src/expressions.js @@ -454,7 +454,7 @@ Expression.prototype._cubicCoefficients = function() { return {a:a, b:b, c:c, d:d}; }; -Term = function(variable) { +var Term = function(variable) { if (variable instanceof Variable) { this.variables = [variable.copy()]; } else if (typeof(variable) === "undefined") {