Skip to content

Commit

Permalink
Common: Some extra spelling mistakes.
Browse files Browse the repository at this point in the history
Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
  • Loading branch information
Rogério Brito committed Jul 18, 2015
1 parent 7a3be86 commit f6acfc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Common/MV.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function subtract( u, v )
return result;
}
else if ( u.matrix && !v.matrix || !u.matrix && v.matrix ) {
throw "subtact(): trying to subtact matrix and non-matrix variables";
throw "subtract(): trying to subtract matrix and non-matrix variables";
}

if ( u.length != v.length ) {
Expand Down Expand Up @@ -580,7 +580,7 @@ function normalize( u, excludeLastComponent )
function mix( u, v, s )
{
if ( typeof s !== "number" ) {
throw "mix: the last paramter " + s + " must be a number";
throw "mix: the last parameter " + s + " must be a number";
}

if ( u.length != v.length ) {
Expand Down

0 comments on commit f6acfc1

Please sign in to comment.