Create a gist now

Instantly share code, notes, and snippets.

diff --git a/matmul/matmul_v1.js b/matmul/matmul_v1.js
index 2c568f5..8a921e5 100644
--- a/matmul/matmul_v1.js
+++ b/matmul/matmul_v1.js
@@ -37,8 +37,8 @@ function matgen(n) {
return a;
}
-var n = 100;
-if (arguments[0]) n = parseInt(arguments[0]);
+// shell does not support commandline arguments so just hardcode problem size
+var n = 1000;
var a = matgen(n);
var b = matgen(n);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment