Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

pasta al pestooooooooooo (a Milano)

  • Loading branch information...
commit b93eadd9f4d9b522c91775bfd2a7ff5dae2a0bbf 1 parent 8a58f80
Gianluca Casati authored
2  lib/Exception/InvalidArguments.js
View
@@ -7,6 +7,8 @@ function InvalidArguments() {
// TODO also provide a listener
console.error('Invalid arguments');
+ // TODO per ora sto sul grezzo
+ console.error(arguments);
};
module.exports = InvalidArguments;
2  lib/Real/Element.js
View
@@ -17,7 +17,7 @@ function RealElement() {
_num = arguments[0];
}
else {
- new InvalidArgumentsException();
+ new InvalidArgumentsException(arguments);
}
self.num = function () { return _num; };
6 test/Real/Vector.js
View
@@ -2,10 +2,10 @@
var assert = require('assert');
var algebra = require('../../index.js');
-var Vector = algebra.Vector;
var RealVector = algebra.Real.Vector;
-var Real = algebra.Real.Element;
-var Rn = algebra.Real.VectorSpace;
+var Real = algebra.Real.Element;
+var Rn = algebra.Real.VectorSpace;
+var Vector = algebra.Vector;
var R3 = new Rn(3);
var R4 = new Rn(4);
Please sign in to comment.
Something went wrong with that request. Please try again.