Merge branch 'master' into develop

This commit is contained in:
josdejong 2013-10-08 11:50:25 +02:00
commit f4e2b9bbd2

View File

@ -40,7 +40,7 @@ module.exports = function (math) {
if (isUnit(x)) {
if (!x.hasBase(Unit.BASE_UNITS.ANGLE)) {
throw new TypeError ('Unit in function cos is no angle');
throw new TypeError ('Unit in function sin is no angle');
}
return Math.sin(x.value);
}